[Tutor] Jumble

ryan luna ryan_gm at sbcglobal.net
Thu Jan 19 01:17:12 CET 2006


Ok so what i have to do is make it so when a player
ask for a hint the program display a hint, heres my
loop, not whole script.

guess = raw_input("\nYour guess: ")
guess = guess.lower()
while (guess != correct) and (guess != ""):
    print "Sorry, that's not it."
    print "If you need a hint enter help"
    if guess == hint:

The problem is its passing up "Hint" altogether
when the user input is hint it doesn't do anything,
prolly makin a noob mistake here, Thank for any help


More information about the Tutor mailing list