25-09-2020 Side 29
MadanMohan MalaviyaUniv. of Technology, Gorakhpur
5. Other Concepts
OperatorsandExpressions
•Arithmetic operators (+, -, *, /, %, **, //)
•Assignment operators (=, +=, -=, *=, /=, %=, **=, //=, &=, |=, <<=, >>=, ^=)
•Comparison operators (==, !=, <, >, <=, >=)
•Logical operators (and, or, not)
•Identity operators (is, is not)
•Membership operators (in, not in)
•Bitwise operators (&, |, ^, ~, <<, >>)