User Profile
Collapse
-
Thank you so much, that helped! :) -
I mean. U guess a number. The mistery number is 62.
you guess, 50. So, u will have 1 hit and 0 matches...
If u don't get it tell me ;) I will explain it better ;)Leave a comment:
-
How to add add hits matches with python
How can I add hits and matches in this source code?
...Code:import random guessCount = 0 num = random.randrange(10,99) print "Find the mistery number between 10 and 98" guess = input("Type in your guess: ") guessCount +=1 while num != guess: if guess < num: print "Too low! Guess higher." else: print "Too high! Guess lower." guess
No activity results to display
Show More
Leave a comment: