omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. ForeverHawk
    3. Posts

    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 3
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by ForeverHawk

    • Beginning High-Schooler needing help. Thanks.

      Sorry if I sound like an idiot, my English isn't very good and I am new to the Python. I just started using Python. I've been trying out some new things and wanted some help. This script isn't working, is there anyone adjustments need for it? What does the "def" mean and why do I need to end in the "space()" and I need to define space(). What does define do in the code. Thank you my friends. :)

       def space():
      	print"You have arrived in Space!"
      	print"Do you want to go to Mars or Jupiter?"
      	answer == "raw_input("Type Mars/Jupiter then hit 'Enter')
      	if answer == "Mars"
      		print"Welcome to Mars"
      	elif answer == "Jupiter"
      		print"Welcome to Jupiter"
      	else:
      		print"You didn't pick either. Try again."
      		space()
      		
      	space()
      
      posted in Pythonista
      ForeverHawk
      ForeverHawk
    • RE: Beginning High-Schooler needing help. Thanks.

      Thanks for replies. I am very gratefully of you guys.
      Bye.

      posted in Pythonista
      ForeverHawk
      ForeverHawk
    • RE: Beginning High-Schooler needing help. Thanks.

      Also, I think I used tab correctly. It just did not show right up.

      posted in Pythonista
      ForeverHawk
      ForeverHawk