On Tue, Jul 2, 2013 at 4:22 PM, Jack Little <jacklittl...@yahoo.com> wrote:
> 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() > > What does 'upgrade' have to do with this code? when you run this code, what is the traceback ? How do you know the code is correct? Isn't the definition of the code being correct, that it will perform the logic you intended? > > > Help? > > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > > -- Joel Goldstick http://joelgoldstick.com
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor