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

How did industrialization change women’s and children’s roles in society?
A resistor, capacitor, and switch are all connected in series to an ideal battery of constant terminal voltage. Initially, the switch is open. What is the volta
In classical conditioning, how long the organism takes to learn an association is called: A) generalization B) extinction C) discrimination D) acquisition
-5.12z = 40.96z = [?]​
So far, 907 of the 1223 voters have agreed to the new amendment. Based on this data, what is a reasonable estimate of the probability that the next voter does n
Type only the number (no degrees).Find x.​
In The Story of An African Farm, Bonaparte speaks with Otto about the missing sheep. How is this interaction important to the story? A. It sets the stage for B
3. Find the product of 25x^2y and -6x²y3
I need help due tomorrow
Early in 20x3, Shifter, Inc. wrote put options for 1,000 shares of its common stock. Purchasers of the options can sell Shifter stock back to Shifter for $20 pe