Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use TH instead of TF.
  • Loading branch information
jdhardy committed Apr 2, 2012
1 parent 3e718e8 commit 04e5a22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ConsoleSample/ConsoleGame.py
Expand Up @@ -20,10 +20,10 @@ def get_wager(game):

def get_guess():
while True:
guess = raw_input("Guess [T/F]: ")
guess = raw_input("Guess [T/H]: ")
guess = guess.upper()
if len(guess) != 1 or guess not in "TF":
print "Enter only T or F."
if len(guess) != 1 or guess not in "TH":
print "Enter only T or H."
else:
return guess

Expand Down

0 comments on commit 04e5a22

Please sign in to comment.