View difference between Paste ID: YbXYnC70 and GNM676CL
SHOW: | | - or go back to the newest paste.
1
Guess a number between 1 and 100: HiLeo
2-
Traceback (most recent call last):
2+
Guess lower!
3-
  File "guess.py", line 26, in <module>
3+
Guess a number between 1 and 100: 20
4-
    print findnumber()
4+
Guess lower!
5-
  File "guess.py", line 7, in findnumber
5+
Guess a number between 1 and 100: 10
6-
    guess = input("Guess a number between 1 and 100: ")
6+
Guess lower!
7-
  File "<string>", line 1, in <module>
7+
Guess a number between 1 and 100: 1
8-
NameError: name 'HiLeo' is not defined
8+
Guess lower!
9
Guess a number between 1 and 100: 0
10
Guess lower!
11
Guess a number between 1 and 100: -9
12
Guess lower!