0% found this document useful (0 votes)
13 views

Python Operators

The document discusses different types of operators in Python including arithmetic, relational, logical, bitwise, membership and identity operators.

Uploaded by

THE KING
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Python Operators

The document discusses different types of operators in Python including arithmetic, relational, logical, bitwise, membership and identity operators.

Uploaded by

THE KING
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Python 3 Operators

PYTHON OPERATORS

Operator ●
Operator is used to operate the operands

Arithmetic Relational
Operators Operators

Logical
Operators
PYTHON OPERATORS

Arithmetic Operators
+ Addition
- Subtraction
* Multiplication
/ Division
% Modulo
// Floor Division
** Exponent
PYTHON OPERATORS

Relational Operators
> Greater than
>= Greater than or equals to
< Less than
<= Less than or equals to
== Comparison Equals to
!= Not Equals to
PYTHON OPERATORS

Logical Operators
AND Logical AND
or Logical Or
notLogical Not
PYTHON OPERATORS

Bitwise Operators
& Binary AND
| Binary Or
^ Binary Xor
~ Complement
>> Right Shift
<< Left Shift
PYTHON OPERATORS
PYTHON OPERATORS
MEMBER SHIP OPERATORS

in

not in
PYTHON OPERATORS
IDENTITY OPERATORS

is

is not

You might also like