Question: Sometimes we need to get input directly from a user in order to perform our computing. The Python function input takes a string as an

Sometimes we need to get input directly from a user in order to perform our computing. The Python function inputtakes a string as an argument and displays it as a prompt in the shell. It then waits for the user to type something, followed by hitting the enter key. The line typed by the user is treated as a string, so if we want to use it as a number, we must convert its type. To test these concepts, write a program that does the following:

1 Ask the user to input their full name

2 Asks the user to input their year of birth

3 Print a message to the shell with the users full name and age. For example: Your name is XXX and you are YYY 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!