Question: Using Python, write a program that prompts the user to enter their age as an integer and then prints out a message that says I

Using Python, write a program that prompts the user to enter their age as an integer and then prints out a message that says I suspect you were born in the year xxxx where "xxxx" is the current year minus the age entered.

An example run where the user entered 10 for their age, would look like this:

 
 

Please enter your age as an integer: 10

 

 

I suspect you were born in 2009

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!