Untitled

mail@pastecode.io avatar
unknown
python
2 years ago
264 B
2
Indexable
Never
age = input("What is your current age\n")

days = 365
week = 52
months = 12
age = int(age)
dead = 90
sum = dead - age
daysLeft = sum * 365
weekLeft = sum * 52
monthsLeft = sum * 12
print(f"You have {daysLeft} days, {weekLeft} weeks, and {monthsLeft} months left.")