Solved

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

Question 68

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