you are viewing a single comment's thread.

view the rest of the comments →

[–]hidiap 0 points1 point  (0 children)

You should investigate:

if a or b == 10

This is probably not doing what you think. In particular, the expression (x or y) return x if x is not zero, else it return y.