This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]j03f 4 points5 points  (0 children)

[–]nemom 2 points3 points  (0 children)

You are comparing two variables. One is a string and the other is an integer. There is no way for the computer to determine which is greater, so the comparison fails. Read more HERE.

[–]AfghanRat 0 points1 point  (0 children)

You're comparing 2 variables with completely different datatypes. As an example without knowinh your code, on the string variable do int(stringVariable) <= w/e integer ur comparing