778569 / Python_project3_Life_in_Weeks_beginnerLvl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python_project3_Life_in_Weeks_beginner

I was reading this article by Tim Urban - Your Life in Weeks and realised just how little time we actually have.

https://waitbutwhy.com/2014/05/life-weeks.html

Create a program using maths and f-Strings that tells us how many days, weeks, months we have left if we live until 90 years old.

It will take your current age as the input and output a message with our time left in this format:

You have x days, y weeks, and z months left.

Where x, y and z are replaced with the actual calculated numbers.

Warning your output should match the Example Output format exactly, even the positions of the commas and full stops.

Hints-There are 365 days in a year, 52 weeks in a year and 12 months in a year.

About


Languages

Language:Python 100.0%