[Tutor] (no subject)

Howard Lawrence 1019shaun at gmail.com
Thu Aug 3 16:27:12 EDT 2017


hi ! i am newbie to coding love it but need help with problems which i
searched but poor results this is the error: typeError unorderable types:
int()<str()
the code in short, number=random.randint(1,20)
guess=input()
guess=int(guess)
but when reach the line that says
if guess<number:

i get the error ! help


More information about the Tutor mailing list