I just started learning to code and wanted to do more when I'm not on my laptop so downloaded Pythonista. I made this script and when I compiled it I get an error stating that my input is not defined. How can you define your input?
Here is the code:
coding: utf-8
name = input("what is your name? ")
age = int(input("what is your age?"))
if (age >= 18) and (age < 90):
print("You can vape {}" .format(name))
if age > 90:
print("{} vaping is not recommended" .format(name))
else:
print("wait {} years" .format(18 - age))