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

water in a pan over a radiator evaporates much faster than a water pan in a table ???? i need help ppl
which is more acidic pH2, pH4 or pH6?
Use trig to solve for x show work
The discovery of gold in Transvaal contributed to the start of _____?the Anglo-Boer WarWorld War IIWorld War Ithe Peloponnesian War
how does the carbon cycle work in the desert
water in a pan over a radiator evaporates much faster than a water pan in a table ???? i need help ppl
My daughter needs a synonym for tired and all the word she has is problem , story and banquet
the perimeter of a square is 4 times as great as the length of any of its sides. Determine whether the perimeter of the square is proportional to the side lengt
What is 60 divided by 100 and why? ( I got 0.6 but I'm not sure ) plz hurry
What is %15 of $35.15 What is %15 of $27.00