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

The _______ was the federal legislature of the 13 colonies and later of the united states from 1774 to 1789.
Which is not one of the four types of stressors?
Solve the equation for the indicated variable. A(b +c) = bc, for b
Don’t understand please help asap
What are all the exact t-values for which tan t = square root of – 3?
A recipe calls for 1.5 cups of raisins for 18 cookies how many cups of raisins must be used for making 30 cookies. please break it down
he volume of a gas varies inversely as the pressure upon it. The volume of a gas is 1600 cm3 under a pressure of 4 kg/2. What will be its volume under a pressur
Which of the following is a vector quantity? Question 4 options: distance speed velocity time
Explain why the Articles of Confederation proved too weak to meet the needs of the 13 new states. Describe at least two examples of the genius of the U.S. Const
how did the thirteenth and fourteenth amendments extend the civil rights of amricans