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
def charInput(): | |
import time | |
name = input("What is your Name: ") | |
age = int(input("How old are your: ")) | |
year =str((int(time.strftime("%Y"))-age)+100) | |
print(name + " will be 100 years old in the year " + year) |