0
Can someone please explain to me the complement, unary plus and minus (~ + -), the right and left bitwise shift (>> <<), bitwise 'AND' (&), bitwise exclusive 'OR' and reg. 'OR' (^|)?
2 ответов
- 3
Python – Basic Operators
What is an operator?
Simple answer can be given using expression 4 + 5 is equal to 9. Here 4 and 5 are called operands and + is called operator. Python language supports following type of operators.
Arithmetic Operators
Comparision Operators
Logical (or Relational) Operators
Assignment Operators
Conditional (or ternary) Operators
You can get detail info in condense form here: https://jebaranjan.com/a-l-ict/python/python-basic-operators/