I have been working on another challenge that involves improving the Blackjack program so the players can wager an amount. If a player loses they will be removed from the game. I keep getting the error: “NameError: global name 'bet' is not defined.” I know I came across this error before in a previous thread, but I am confused on how to solve this, since I am also trying to juggle it with inherited methods at the same time. Here is the old and new file for the blackjack program for comparison:
http://old.nabble.com/file/p31966195/blackjack.py blackjack.py http://old.nabble.com/file/p31966195/blackjackbetting.py blackjackbetting.py -- View this message in context: http://old.nabble.com/Blackjack-Betting-tp31966195p31966195.html Sent from the Python - tutor mailing list archive at Nabble.com. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor