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

Explain how the aperture geometry relates to the diffraction pattern.
Which of the following would be seen as an improvement on the quality of capital or a positive investment? A. Educational test scores are up. B. An assembly lin
please help me solve this f - 4 = -11
Like most Spaniards, most Mexicans belong to the _____________ Church. Christian Roman Catholic Muslim Jewish
what is culture?pls help me​
pls help me with this question . I dont understand.. ​
Explain the characteristics of a cyclone.
Deb, a licensee, is unhappy with the marketing materials a local company produced. While having coffee with Irving, a licensee with another firm, she tells him
What is chunking? a) putting together dissimilar sections of text b) determining the author's purpose for c) writing putting together similar sections of d) tex
Before the incident in the woods, how does the author build up tension to suggest something ominous might occur?