Answered step by step
Verified Expert Solution
Question
1 Approved Answer
python Write a program that asks the user for their birthday (day, month and year). The program shy for today's date (date the program is
python
Write a program that asks the user for their birthday (day, month and year). The program shy for today's date (date the program is being used) assuming the current year 2022. The program prints the person's age in years. It prints their age based on the day, month and year (not only the year). For example, if the person was born in November 15 of 2000 . The program will print 22 (see the test cases). Note: you can implement your solution using only 1 if/else block if you use boolean operators. Por ejemplo Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started