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

Find the volume V of the solid obtained by rotating the region bounded by the given curves about the specified line. Only 1 try remaining for this problem or el
a toaster uses a nichrome heating coil and operates at 120 v. when the toaster is turned on at 20oc, the current in the cold coil is 1.5 a. when the coil warms
Do you have what it takes to be an entrepreneur?​
thelma is capable of abstract thinking and has become quite idealistic. according to piaget, she is in the stage.
Can monkey produce language?
Hi can someone please help me with this.
I don’t really understand how to get this one :/
you need vitamins to use the carbohydrates, fats, and proteins you consume and to sustain numerous chemical reactions in your body.
The graph of y = f(x) is the solid black graph below. Which function represents the dotted graph? ​
mason is highly satisfied with his job. he receives consistently strong evaluations and volunteers to train new employees. mason exhibits positive job performan