In PyCharm, write a program that prompts the user for their name and age. Your program should then tell the user the year they were born. Here is a sample execution of the program with the user input...


In PyCharm, write a program that prompts the user for their name and age. Your program should then tell the user the year they were born. Here is a sample execution of the program with the user inputin bold:


What is your name?
Amanda
How old are you?
15
Hello Amanda! You were born in 2005.


Hello Amanda! You were born in 2005.



  1. Write the program.Format your code using best practices. Refer to the zyBooks style guide, if needed, to use proper naming conventions for variables and methods.Use the most appropriate statements with minimal extraneous elements, steps, or procedures.

  2. Run the program.

  3. Debug the program.Be sure your code produces the correct results.

  4. Save and submit your file.



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here