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

9 is 60% of what number?
what are the main colors of art?
Write a paragraph in your science journal that explains why you can step out of the shower into a warm bathroom and begin to shiver
The Northeast became a leader in commerce because of its
Moving through trophic levels _______. a. energy decreases b. entropy increases c. biomass decreases d. all of the above
Why weren't the serfs' plots truly their own
What is 2.06% written as a decimal ?
if Justin is 2 years older than ethan and in 9 years the sum of their ages will be 38 how old are they now? Can someone please help me with this question
mary has 12 marbles. 3/12 marbles. are yellow and 2/12 of the marbles are blue. The rest of the marbles are green. how many marbles are green??explain how you k
Mallorie has $3 in her wallet.If this is 10% of her monthly allowance, What is her monthly allowance?