Skip to content

Instantly share code, notes, and snippets.

import datetime
def main(name:str, age:int):
turn100_year = curr_year + 100 - age
print(f"Hey, {name}. You will turn to 100 in the year {turn100_year}")
curr_year = datetime.date.today().year
if __name__ == "__main__":
name=input("What is your name: ")