#pick a number bw one and ten program print "I'm thinking of a number between 1 and 10" print "Please try to guess the number 5 times" for counter in range(5): guess=3 answer = raw_input("What is your Guess?") if answer == guess: print"You guessed correctly!" break elif answer != guess: print "Sorry, you guessed incorrectly...\n"