Yurttas/PL/SL/python/docs/core-python-programming/doc/20/ref/operators.html


2.5 Operators

The following tokens are operators:

+       -       *       **      /       %
<<      >>      &       |       ^       ~
<       >       <=      >=      ==      !=      <>

The comparison operators <> and != are alternate spellings of the same operator. != is the preferred spelling; <> is obsolescent.


See About this document... for information on suggesting changes.