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

Please help me with this one too !!!
what was a power given by the articles of confederation
what's the ph of citric acid
zach has 8 stores that he manages 6 of those stores are hiring what fraction of his stores are hiring?
In the adult, the internal reproductive organs and the urinary bladder are "housed" in which body cavity?
Which style of art is distinguished by texture oli paint ,solid forms suggested by shape imprecise lines ,and intermingled colors
If you’re over 21 you could be arrested for a DUI if your PAC is at or over ? Thanks
The transtheoretical model includes a stage called termination. a. True b. False
A man has blood type AB and his wife has blood type B. What are the possible blood types for their child
If a car's __________ is malfunctioning, people in the car will become ill when driving long distances, especially if the windows are closed. A. braking system