Days Weeks and Months Left To Live

    0

    0

    #How many days weeks and months you have left.
    age = input("What is your current age? ")
    age_int = int(age)
    years_left = 90 - age_int
    days_left = years_left * 365
    weeks_left = years_left * 52
    months_left = years_left * 12
    print(f"You have {days_left} days, {weeks_left} weeks, and {months_left} months left.")
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.