This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: ") |