Question: Fix the error in the code. In PyCharm, write a program that prompts the user for their name and age. Your program should then tell

Fix the error in the code.
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 bold: What is your name? Amanda How old are you? 15 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.
Step by Step Solution
3.46 Rating (149 Votes )
There are 3 Steps involved in it
There is nothing wrong with this code it is completely fine may be error due to pycharm There are so... View full answer
Get step-by-step solutions from verified subject matter experts
