Solved

Write Simple Python Program That Determines a Person's Age (In

Question 106

Essay

Write simple Python program that determines a person's age (in years) by prompting for the current month, day and year and the month, day and year that they were born. Design the program so that all values are entered as integer values (i.e., integer values for months). The program must compare the month and day information (in addition to the years) to determine if a person's birthday has yet passed for the current year. (If the current day is their birthday, then consider them a year older than they would have been the day before.)

Correct Answer:

verifed

Verified

current_month = int(input('Enter the cur...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents