Lec 2 - Data Types
Lec 2 - Data Types
>> Binary Right Shift Shift right by pushing copies of the leftmost
bit in from the left, and let the rightmost bits
fall off
Apr 4, 2024 Python Programming 22
Python Logical Operators
Operator Description Example
and Logical If both the operands are true then (a and b)
AND condition becomes true. is true.
or Logical If any of the two operands are non-zero (a or b) is
OR then condition becomes true. true.
not Logical Used to reverse the logical state of its Not(a
NOT operand. and b) is
false.