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

When using fraction strips how do you know that to fractions are equivalent
Help number 10!!!!!!!!!
true or false the spanish had weapons the aztecs had never seen before including steel swords and cannons which made it hard for the aztecs to defeat cortes an
simplify these expressions
particles in an object are constantly moving. the particles also attract and repel each other. this attraction and movement can be classified as _________. A. S
How many inches are there in 2yd 2ft 5in
Nicki school day last 7 hours 20 minutes how many minutes does Nicki school day last explain how you found your answer
One eighth of Tony's book are mystery books.he has 3 mystery books.how many books does tony have in all?
how would you draw a picture to find 3 ÷ 1/2
how many days are there in 4 weeks,3 days?