Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a python program using basic maths and formatting strings feature ( f string ) to calculate and display how many days, weeks and months
Create a python program using basic maths and formatting strings feature f string to calculate and display how many days, weeks and months we have left if we live until yeras old.
Your program should read your current age and output the message You have days, weeks and months left
Assume year days, weeks, months.
Run your program for test cases age is
Sample output for test case is shown below
What is your current age?
You have days, weeks and months left
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