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

Is 5-x = - (x - 5) a one solution or is it a no solution or a real number thanks
A pair of jeans is on sale for 25% off the original price.Which expression represents the sale price?If the original price of jeans is $40, evaluate the express
Which is an example of a polymer?
Pls help quickly I really need help no spam pls
HELP!!! It's math!!! WILL MARK BRAINLIEST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1Lines m and
Fill in the blanks with the present tense of the indicated verbs.8. Carolina. la maleta.9. Yo las ventanas. 10. Nosotros los libros 1
Write at least 10 complete sentences in the present tense about you, your name, your age, your birthday, where you are from, adjectives that describe & do
Evaluate the expression of x = -5 and y = 12
Use this paragraph: In a scale model of the solar system, the sun is placed at the center and the planets are shown orbiting in circles around it. Mars is 1.5 A
What is the product(-10)(-12)