[Tutor] Error in Game

Jack Little jacklittlemc at yahoo.com
Tue Jul 2 22:22:25 CEST 2013


The player has an option to upgrade or not. I know the code is correct, but it doesn't send the player to the shop. Here is the code:

def lvl3_2():
    print "You beat level 3!"
    print "Congratulations!"
    print "You have liberated the Bristol Channel!"
    print "[Y] to go to the shop or [N] to advance."
    final1=raw_input(">>")
    if final1.lower()=="y":
        shop2()
    elif final1.lower()=="n":
        lvl4()



Help?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130702/be3b8b25/attachment.html>


More information about the Tutor mailing list