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

What factors contribute to inequality within the educational system in the united states?
The seven-step model used primarily for making career decisions focuses heavily on research. True False
the video store sold 5 movies for 12 dollars . How many dollars will be earned
What is the median of the data set represented by the dot plot? Enter the answer in the box.
I need the answer for 21 plz
In hierarchically structured organizations, communication between peers is called ________ communication.
What are things you can do to manage the risks in your life to reduce any financial losses?
Will mark as Brainliest What is 100 + 100
What is the process in which a glacier drags rocks along the landscape
How long will it take for the population to triple, growing at 2.5% compounded continuously?