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

Bill had 240 pieces of gum. he gave 1/6 of the piece of gum to his sister. how many pieces of gum did he give to his sister?
four accounting majors two economic majors and three marketing majors have interviewed for five different positions with a large company. find the number of dif
What is the product of written in simplest form? 7/10 divided by 5/6
Go math chapter 3 review answerd
How many square feet of outdoor carpet will need for this hole
The smaller circle has a diameter that is half the size of the larger circle.what is the missing circumference in centimeters?
What is 90 times 90?
how to do this in proper?
Ex 9-9 Straight-line depreciation ObJ. 2 A refrigerator used by a meat processor has a cost of $48,000, an estimated residual value of $9,000, and an estimated
What is the function of the noun clause in this sentence? Kam knew that she could control her breath. a) direct object b) appositive c) subject d) indirect obje