Question: python,please Complete the get_name() function that: Prompts the user to enter their name and then Returns their name Note that the get_name() function takes no

python,please python,please Complete the get_name() function that: Prompts the user to enter their
name and then Returns their name Note that the get_name() function takes

Complete the get_name() function that: Prompts the user to enter their name and then Returns their name Note that the get_name() function takes no parameters. Some examples of the function being used are shown below: For example: Test Input Result name = get_name() Damir Please enter your name: Damir print("Your name is", name) Your name is Damir print("Your name is", get_name()) Ann Please enter your name: Ann Your name is Ann Complete the get_age() function that: Prompts the user to enter their age and then Returns their age. Note that the get_age() function does not take any parameters. You can assume that the user will always enter an integer value for their age. Some examples of the function being used are shown below: For example: Test Input Result age = get_age() 42 Please enter your age: 42 print("You are", age, "years old.") You are 42 years old. print("You are", get_age(). "years old.") 53 Please enter your age: 53 You are 53 years old

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!