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

Python - Operators

Uploaded by

Aslam Mohammed
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Python - Operators

Uploaded by

Aslam Mohammed
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

In Python programming, Operators in general are used to perform

operations on values and variables. These are standard symbols used for
logical and arithmetic operations. In this article, we will look into different
types of Python operators.

 OPERATORS: These are the special symbols. Eg- + , * , /, etc.

 OPERAND: It is the value on which the operator is applied.

Types of Operators in Python

1. Arithmetic Operators

2. Comparison Operators

3. Logical Operators

4. Bitwise Operators

5. Assignment Operators

6. Identity Operators and Membership Operators

Arithmetic Operators in Python

Python Arithmetic operators are used to perform basic mathematical


operations like addition, subtraction, multiplication, and division.

In Python 3.x the result of division is a floating-point while in Python 2.x


division of 2 integers was an integer. To obtain an integer result in Python
3.x floored (// integer) is used.

You might also like