'Comparing one value with another [closed]

I get an error when using

if ThingOne <= ThingTwo:

the error is something about str and int

I don't understand what google told me, is there another way to do this?



Solution 1:[1]

The greater/less than operator needs to be before the equals sign.

What you're trying to do should be <=

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Miles B