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

helpppppppppppppppppppppppp
Which of the following bones make(s) contact with some of the ribs? A. humerus B. phalanges C. ulna D. scapula
7. Czar Nicholas's of Russia abdication led to which of the following? a. civil war and the establishment of a Communist government b. a strong provisional gove
A cube of side 14 cm is surmounted by a hemisphere. What is the greatest diameter the hemisphere can have? Find the surface area of the solid? ​
A trailer is pulling a car with a force of 900N on a level road. The car is moving at 70 km/h how much work is done by the trailer on the car in 15mm?​
Give your own position on gender based violence in South Africa.​
What is the length of the indicated side?​
Why did the Proclamation Line of 1763 anger many American colonists?
I WILL GIVE 20 POINTS TO THOSE WHO ANSWER THIS QUESTION RIGHT NOOOO SCAMS AND EXPLAIN WHY THAT IS THE ANSWER
What is 800divided by the a times the 9 3 times?