Q:

python: operator "<>" in conditional statement

I am trying to understand some python code from the internet in which I found this line:
 if len(u) <> 2:
        # some statements

and:
  if idPlayer <> 0:
        # some statements

Tried to google it, nothing found, not even in the python documentation...
What does the conditional sign "<>" means?
When the conditions above are True?
Thanks

A:

It's an alternate version of !=, checking for non-equality.

