Question: Using python Birthday Calculator Create a program that accepts a name and a birth date and displays the person's birthday, the current day, the person's

Using python
Birthday Calculator
Create a program that accepts a name and a birth date and displays the person's birthday, the current day, the
person's age, and the number of days until the person's next birthday.
Console
Birthday Calculator
Enter name: Joel
Enter birthday (MM/DD/YY): 2/4/68
Birthday: Sunday, February 04,1968
Today: Thursday, March 11,2021
Joel is 53 years old.
Joel's birthday is in 330 days.
Continue? (y/n): y
Enter name: Mary
Enter birthday (MM/DD/YY): 4/1/07
Birthday: Sunday, April 01,2007
Today: Thursday, March 11,2021
Mary is 13 years old.
Mary's birthday is in 21 days.
Continue? (y/n): y
Enter name: Mike
Enter birthday (MM/DD/YY): 3/11/86
Birthday: Tuesday, March 11,1986
Today: Thursday, March 11,2021
Mike is 35 years old.
Mike's birthday is today!
Continue? (y/n): n
Specifications
Allow the user to enter a date in the MM/DD/YY format. Adjust the date so it is
correct even if the birth year is later than the current year.
When you calculate the person's age, don't take leap year into account. If the person
is more than 2 years old, display the person's age in years. Otherwise, display the
person's age in days.
When you display the message that indicates the number of days until the person's
birthday, you can use the following format for a person with a name of Jon:
today - Jon's birthday is today!
tomorrow - Jon's birthday is tomorrow!
yesterday - Jon's birthday was yesterday!
other days - Jon's birthday is in X days.
Using python Birthday Calculator Create a program

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 Programming Questions!