0% found this document useful (0 votes)
2 views1 page

Python Operators Explained

The document provides an overview of operators in Python, categorizing them into six types: Arithmetic, Relational, Logical, Bitwise, Assignment, and Special operators. It specifically details Arithmetic Operators, listing their symbols and functions, along with a sample Python code demonstrating their usage. The document includes a contact address for Durgasoft.

Uploaded by

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

Python Operators Explained

The document provides an overview of operators in Python, categorizing them into six types: Arithmetic, Relational, Logical, Bitwise, Assignment, and Special operators. It specifically details Arithmetic Operators, listing their symbols and functions, along with a sample Python code demonstrating their usage. The document includes a contact address for Durgasoft.

Uploaded by

vishnu200121
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Operators

Operator is a symbol that performs certain operations.


Python provides the following set of operators

1. Arithmetic Operators
2. Relational Operators or Comparison Operators
3. Logical operators
4. Bitwise oeprators
5. Assignment operators
6. Special operators

1. Arithmetic Operators:
+ ==>Addition
- ==>Subtraction
* ==>Multiplication
/ ==>Division operator
% ===>Modulo operator

// ==>Floor Division operator

** ==>Exponent operator or power operator

Eg: [Link]:

1) a=10
2) b=2
3) print('a+b=',a+b)
4) print('a-b=',a-b)
5) print('a*b=',a*b)
6) print('a/b=',a/b)
7) print('a//b=',a//b)
8) print('a%b=',a%b)
9) print('a**b=',a**b)

nd
DURGASOFT, # 202, 2 Floor, HUDA Maitrivanam, Ameerpet, Hyderabad - 500038,
1  040 – 64 51 27 86, 80 96 96 96 96, 92 46 21 21 43 | [Link]

You might also like