0
1.4kviews
What are different math operators used in Python?

Describe all different types of math operators used in Python. Also give an example for each.

1 Answer
1
16views

Different operators used in Python are:

Arithmetic

1. Addition: Used to add to values.

for eg:  x+y or 3+5 = 8

2. Subtraction: Used to substract values.

for eg:  x-y or 5-3 = 2

3. Multiplication: Used to perform multiplication.

for eg:  x * y or 2 * 4 = …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.