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

what is 5 divided by 312 in the long way
what digit can be in the ones place of a number that has 5as a factor
Which pair of lines from “Lines Written in Early Spring” by William Wordsworth is an example of alliteration?
What was the Commercial Revolution? A.a trade war between European countries following the colonization of the New World B.the decrease in global trade between
2. The four main systems of the Earth are
The process of spreading culture traits from one society to another.
He took the bad news with surprising 1.witheredness 2.pavilion 3.detachedness 4.resignation and showed no emotion
Five less than 3 times the length, l
Why were Europeans interested in exploration in the fifteenth and sixteenth centuries?
rashid bought some baseball cards. after giving 7 cards to his friend grace, he arranged the remaining cards in 6 rows of 4. how many cards did he buy?