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

Arithmetic Operators

The document explains the purpose and types of arithmetic operators in Python, which are used to perform basic arithmetic operations like addition, subtraction, and multiplication. It lists seven arithmetic operators along with their symbols, meanings, and examples using variables a and b. The document also defines expressions formed by these operators.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Arithmetic Operators

The document explains the purpose and types of arithmetic operators in Python, which are used to perform basic arithmetic operations like addition, subtraction, and multiplication. It lists seven arithmetic operators along with their symbols, meanings, and examples using variables a and b. The document also defines expressions formed by these operators.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

=============================================================

1. Arithmetic Operators

=============================================================
=>The Purpose of Arithmetic Operators is that "To Perform Arithmetic Operations
such as Addition, substraction....etc".
=>If Two Or More Values connected with Arithmetic Operators then It is Called
Arithmteic Expression.
=>In Python Programming, we have 7 Types of Arithmetic Operators and they are given
in the following table
-----------------------------------------------------------------------------------
--------------------------------------------------------------------------
SLNO SYMBOL MEANING EXAMPLE a=10 b=3
-----------------------------------------------------------------------------------
--------------------------------------------------------------------------
1. + Addition
print(a+b)------------13
2. - Substraction
print(a-b)-------------7
3. * Multiplication
print(a*b)------------30

4. / Division
print(a/b)----------3.3333333333333335
(Float Quotient)

5. // Floor Division
print(a//b)---------3
(Integer Quotient)

6. % Modulo Division print(a


%b)---------1
(Remainder)

7. ** Exponentiation
print(a**b)-------1000
-----------------------------------------------------------------------------------
--------------------------------------------------------------------------
Here a+b, a-b , a*b , a/b , a//b, a%b and a**b are called Arithmteic
Expressions.

You might also like