I love python

Oct 02, 2004 21:40

I love python, it does what I want, when I want. When I got sick of debbugging this prog, and finally got it working...
"
"I have a number between 1 and 1000.
Can you guess my number?
Please type your first guess. DIE

Traceback (most recent call last):
File "pyshell#7", line 1, in -toplevel-
highLow()
File "C:/Documents and Settings/Die/My Documents/Python/highLow.py", line 13, in highLow
guess = int(raw_input("Please type your first guess. "))
ValueError: invalid literal for int(): DIE
>>>
"
Previous post Next post
Up