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

Does an Off-Duty Police Officer have Authority in US?
An astronaut who weighs 126lb on Earth weighs only21lb on the moon. How much would a person who weights 31lb on the moon weigh on Earth?
which number is 100 less than 61 tens?
three snack bars contain 1/5,0.22,and 19% of their calories from fat. which snack bar contains the least amount of calories from fat ?
I forgot what are homophones.Does anyone know what's a homophone.
what is 3 2/5 times 2 1/3
Which one of the following is smallest in size ?N3-               O2-               F-                Na
What's the answer to this problem?
what is greater 0.7 or 7/9?
Which one of the following is smallest in size ?N3-               O2-               F-                Na