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

Which development was most important in encouraging the growth of the cattle industry during the late 1800s?
Which shows 7 2/9 written as an improper fraction? 65/9, 79/2, 72/9 or 23/9?
If similar fossil collections are found on two continents, now widely separated, what is a possible explanation
does our body has cells
Which ratios are proportional to 40 : 15? Choose all answers that are correct. A. 3 : 8 B. 8 : 3 C. 90 : 240 D. 120 : 45
Time is always calculated from which degree of longitude? A. 0 B. 60 C. 90 D. 180
give me 5 important facts about plagiarism
By 1914, which European nation had the most powerful navy? A. Russia B. France C. Germany D. Great Britain
Which was the first representative assembly in the American colonies? A. House of Burgesses B. First Continental Congress C. Jamestown Charter D. United States
Natural selection would not take place without what?