Unformatted text preview: #If guess is too hight print("Your guess is too high.") if guess == number: # What to do if user guesses correctly break if guess == number: #Where the program jumps to after the user guesses correctly numAttempts = str(numAttempts) print("Great job, ", userName, "! You guessed my number in ", numAttempts, " guesses!") if guess != number: #Where program jumps to if user has used all guesses and didn't guess correcly number = str(number) print("Too Bad. The number I was thinking of was ", number, ".")...
View Full Document
- Fall '15
- #, Username, #random, #Establishing