Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
