[EMAIL PROTECTED] wrote:

> Code:
> 
[snip]

>     else:
>         counter = counter - 1
>         print
>         print "The number is greater than your guess."
>         print "You have", counter, " chances left to guess the number."
>         guess = (raw_input("Your guess is "))

The above line is incorrect: it should be
         guess = int(raw_input("Your guess is "))

-- 
If I have been able to see further, it was only because I stood
on the shoulders of giants.  -- Isaac Newton

Roel Schroeven
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to