[Tutor] Unknown Cause of Error

Jack Little jacklittlemc at yahoo.com
Sat May 11 04:13:19 CEST 2013


I have a slight problem. My program will not open. On top of that, I have written similar programs all to no avail. I am creating a text adventure and want there to be different rooms. Here is my code:



def menu():
    print "Welcome to Tomb Explorer!"
    print "A game of Exploration from Bulldog Development"
    print "Press [1] to Play or [2] to Exit"
    menu1=raw_input(" >> ")
    if menu1== "2":
        quit()
    if menu1== "1":
        room1()
    menu()







Thanks A Ton!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130510/acbdcf6e/attachment.html>


More information about the Tutor mailing list