@Phuket2 I downloaded Pythonista 3 and everything works now.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Best posts made by ducky908
-
RE: Pythonista is telling my input is not defined
Latest posts made by ducky908
-
RE: Pythonista is telling my input is not defined
@Phuket2 I downloaded Pythonista 3 and everything works now.
-
Pythonista is telling my input is not defined
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))