0
Of the boolean operators the precedence, from weakest to strongest, is as follows:
or
and
not x
is not;Â not in
Where operators are of equal precedence evaluation proceeds from left to right.
For complete list:
Precedence of Python Operators
https://www.programiz.com/python-programming/precedence-associativity