Typing the : print("type (guess_value)=", type (guess_value))
print("type (number)=",type(number)

type (guess_value)= <class int>
type (number)= <class int>

the code runs again then prints
type guess_value =< class int>
type number=<class str>

Now Traceback kicks in
if guess_value < number:
TypeError : unorderable types: int() < str()
Ran the code from Cmd prompt
Got TypeError not supported between
Instance of 'int' and 'str'
It's seems up till
If guess_value < number:
 guess_value is a integer
 also number which the computer generated
Still scratching my head-:(
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:

Reply via email to