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

HURRY I NEED THIS ASAP IN 15MIN TOPS!!! EASY POINTS!!!THE MATCH There never was a time when the world was without fire, but there was a time when men did not kn
What is 2,654 rounded to the nearest hundred?a 2,600 b 2,650 c 2,660 d 2,700
Which formula can be used to describe the sequence 640,160,40,10
Which of the following illustrates an example of a string data type?
what is responsible for guiding the monetary policy of the United states
What is the answer to this problem?
What is the krebs cycle??
a person who either rented or worked on other people's land is called?
At age 16, Juana has an appropriate weight and eats whatever she wants. What's the best strategy Juana can use to ensure good health? Answer Choices: - walk
what do you think might be just as difficult as being unable to see or hear?