Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

More Books

Students also viewed these Databases questions

Question

Please make it fast 8 1 . .

Answered: 1 week ago

Question

What is Indian Polity and Governance ?

Answered: 1 week ago