0

i was busily typing away one day for my text game when i decided that i wanted to test it
so i tried to run it and it came up highlighting the first print in the section below can someone please help me?

choice = raw_input("Look around or go back to the field(look or field)"
                        if choice == "look"
                            print "You find a fishing spear and some clothes, and you put them on."
                            print "with the fishing spear you go and try to fish you succeed and get 4 fish"
                            print "Do you want to go back to the field or go look in the forest?"
2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by tomtetlaw
0

Just some errors you need to correct:

# put the prompt string inside the function's ()
choice = raw_input("Look around or go back to the field(look or field)")

# don't forget the : to start the statement block
if choice == "look":  
    print "You find a fishing spear and some clothes, and you put them on."
    print "with the fishing spear you go and try to fish you succeed and get 4 fish"
    print "Do you want to go back to the field or go look in the forest?"
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.