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

URGENT!!!!!!!!!!!!!!!!!!!! How did the Romans bring water into the city from the surrounding hills? A. They pumped it into the city with hydraulic equipment
Which ordered pair is a solution for y=5x-3?
How long did it take for the United States to dig the Panama Canal? a. three and one-half years b. 17 years c. five years d. nine years
Describe the weather in africa
The Inca produced a magnificent, expansive, and complex culture, despite lacking all of the following except ________________________. a. a system of writing c
A failure of the red-sensitive nerves in the eye to respond to light properly causes A. astigmatism. B. color blindness. C. chromatic aberration. D. farsigh
Which one of the following pairs of numbers contains like fractions? a. 5/4 and 4/5 B. 1/2 and 3/2 c. 6/7 and 60/70 d. 4/8 and 12/16
A group of rock layers containing similar fossils of similar age is called a A. strata B. stage C. season D. series
Divide 6/13 by 6/12 .
how many 2/3 cups servings are in a 4 cup container of food