Question: Your task in this programming assignment is to write a simple Python program that prompts the user to enter his/her name and age, followed by
Your task in this programming assignment is to write a simple Python program that prompts the user to enter his/her name and age, followed by output as show in the following sample run (user input is shown in bold red) Please enter your name: "Dan Druff" How old are you, Dan Druff? 22 Hi, Dan Druff. You are 22 years old. Twice your age is 44. Here's output of another sample run (again, user input is shown in bold red) Please enter your name: "Natalie" How old are you, Natalie? 36 Hi, Natalie. You are 36 years old. Twice your age is 72 To help clarify, here are some specifics and/or constraints (1) Your output should be exactly like the sample runs shown above (of course, actual input values and calculations will vary depending on the provided inputs) (2) You must include a meaningful header, use good coding style, use meaningful variable names and comment your source code where appropriate (3) You must use the provided source code template; and (4) You must submit your source code as a single py file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
