This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# with study drill done that debugs the number entry for gold | |
from sys import exit | |
def gold_room(): | |
print "This room is full of gold. How much do you take?" | |
while True: | |
try: | |
choice = raw_input("> ") | |
how_much = int(choice) |
NewerOlder