pinterestmom268 pinterestmom268
  • 02-01-2020
  • Computers and Technology
contestada

Write a function named get_first_name that asks the user to enter his or her first name and returns it.

Respuesta :

ijeggs
ijeggs ijeggs
  • 03-01-2020

Answer:

def get_first_name( ):

   My_name = input('Please What is Your Name')

   return My_name

Explanation:

In Python Programming Language, we define the function def get_first_name

The function receives no parameters.

On line two, the function uses the input function to request for a users name and assigns

On line three, it returns the the name entered by the user.

Answer Link

Otras preguntas

Which is the best strategy for avoiding long-term stress?
A business structure that operates on a pyramid scheme making money from recruiting more and more distributors is known as
_____________ helped Argentinian people win independence from Spain.
Which of the following is not a way that science influences society
The purpose of Mohandas Gandhi’s actions such as the Salt March and the textile boycott was to
A housekeeper would most likely fall under this classification
Which of the following statements about a compound is true
What is the area of the kitchen floor in this floor plan? a) 24 square meters b) 28 square meters c) 35 square meters d) 42 square meters
How does voice affect the credibility of a text
given that the rectangle above has an area of 48 square units, find m angle klj. round the answer to the nearest hundreth. a. 18.43 degrees b. 36.87 degrees c.