omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. ducky908

    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.


    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 1
    • Controversial 0
    • Groups 0

    ducky908

    @ducky908

    1
    Reputation
    441
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    ducky908 Unfollow Follow

    Best posts made by ducky908

    • RE: Pythonista is telling my input is not defined

      @Phuket2 I downloaded Pythonista 3 and everything works now.

      posted in Pythonista
      ducky908
      ducky908

    Latest posts made by ducky908

    • RE: Pythonista is telling my input is not defined

      @Phuket2 I downloaded Pythonista 3 and everything works now.

      posted in Pythonista
      ducky908
      ducky908
    • 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))

      posted in Pythonista
      ducky908
      ducky908