I was trying to get some input in python and I have no idea what is my problem
name = input("What's your name?")
age = int(input("How old are you?"))
year = str((100 - age) + 2018)
print("Hello "+ name + ",in " + year + "you'll be 100 y.o")
and when I use my name as input like "shayan", thats came out:
name = input("What's your name? ")
File "<string>", line 1, in <module>
NameError: name 'shayan' is not defined
I tri my code in "atom" , "sublime" , "visual studio code"