+ 1
On the computer it works fine until I actually find the number - it will just say higher or lower around him.
2 odpowiedzi
+ 2
you shouldn't do str (x)<str(y)
but
int(x)<y
similarly with == and >
you want to compare the integer values, not alphabetically strings
when user guesses the number, break the loop
otherwise it will read 100 numbers from user
+ 1
Thanks!