life-in-weeks.py 341 B

1234567891011
  1. days_in_year = 365
  2. weeks_in_year = 52
  3. month_in_year = 12
  4. max_age = 90
  5. print('Wellcome to the life in weeks App')
  6. age = int(input('WHat is your current age? '))
  7. years_remaining = max_age - age
  8. print(f"You have {days_in_year * years_remaining} days, {weeks_in_year * years_remaining} weeks and {month_in_year * years_remaining} month left")