Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please write a short python program L Problem 1 Filename: age.py Prompt the user for their age in years. Report back to them how much
please write a short python program
L Problem 1 Filename: age.py Prompt the user for their age in years. Report back to them how much that is in: months, days, and hours. All of your data should be integers. There's no need to account for leap years or other special cases -- you can assume 365 days per year. For full credit under the documentation category, write two test cases in a comment at the top of your file, like this but with your own examples. Do this before you start coding -- that way you know if your program works! # Input: 1 year # Output: 12 months, 365 days, 8760 hours # Input: 42 years # Output: 504 months, 15330 days, 367920 hours Here's an example of what happens when I run my program (your text/formatting doesn't need to look exactly like ours though): Enter your age, in years. 42 42 years is... 504 months 15330 days 367920 hoursStep 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