# Python Programming

## Operators in Python

In this blog, We are going to learn about Operators in Python Programming.

## Why Python Programming?

Because Python is easy to learn. Itâ€™s code structure is very simple while other programming languages have complex code structure(i.e, C++, Java, etc). It is the best programming language for a beginner to start to learn how to code. It is widely using in whole over the world. However, It is very demanding language in industry as It is used in Machine Learning, Artificial Intelligence etc.

## About Operators in Python Programming

Operators are divided into following types in Python:

• Arithmetic operators
• Assignment operators
• Comparison operators
• Logical operators
• Identity operators
• Membership operators
• Bitwise operators

So, Let’s see each type of operators one by one.

## Arithmetic operators

Basically Arithmetic operators are Common mathematics operations i.e,addition, subtraction, divide etc.

``````A = 5
B = 10
C = A + B
print("As a result, The sum of A and B is ", C)``````

OUTPUT:

As a result, The sum of A and B is 15

Subtraction : –

``````A = 10
B = 5
C = 10-5
print("As a result, The difference of A and B is ", C)``````

OUTPUT:

As a result, The difference of A and B is 5

Multiplication : *

``````A = 10
B = 5
C = 10*5
print("Similarly, The multiplication of A and B is ", C)``````

OUTPUT:

Similarly, The multiplication of A and B is 50

Division : /

``````A = 10
B = 5
C = A/B
print("Similarly, The division is ", C) ``````

OUTPUT:

Similarly, The division of A and B is 2

So, We have learned about some Arithmetic operators, We would continue to learn about rest arithmetic operators. Also, We will learn about other types of operators too. So, Be updated on our websites, We will try our best to give a bright path to your career.