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

describe the steps involved when water and ice weather rocks
Find the appositives in the sentence: Ralph, my pet tarantula, lives in my room.
How did the Reconstruction Finance Corporation (RFC) help jump-start the economy?
what is the simplest form of 3/30
Johnny and sally bought 4 pounds of mulch and two pounds if seedfor the garden.how many ounces of these products did they purchase?
-6u-6y=66 2v+4y=-32 v=. Y=
What places are likely to support a large consumer population? A. regions that receive abundant sunlight B. areas that have many scavengers and decomposers C. e
modern sea star larvae resemble some primitive vertebrate larvae.this similarity may suggest that primitive vertibrates
what layers contain the densest materials
Select the definition of democracy. A. rule by many B. rule by a representatives C. rule by religious leaders D. rule by a few individuals B!!!!???