Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> #arithmetic operator
>>> # 1 exponent operator(**)
>>> 3**2
9
>>> 10**-2
0.01
>>> -2**3
-8
>>> 4**.5
2.0
>>> 2.5**2
6.25
>>> 10**20
100000000000000000000
>>> 2**128
340282366920938463463374607431768211456
>>> 
>>> # 2 divide operatar
>>> 
>>> #two types 1.(/
>>> 5/2
2.5
>>> 4/2
2.0
>>> # it always gives float value
>>> # 2. (//)
>>> 5//2
2
>>> # it gives floor value lower value than the number
>>> 5.0/2
2.5
>>> 5.0/2.0
2.5
>>> 5/2.0
2.5
>>> 5.0//2
2.0
>>> 5//2.0
2.0
>>> 5.0/2.0
2.5
>>> 5.0//2.0
2.0
>>> # 3. modulus operator
>>> 4%3
1
>>> 11%7
4
>>> 2%3
2
>>> 4.5%3
1.5
>>> 2%3.0
2.0
>>> 4%3
1
>>> -4%3
2
>>> 4%-3
-2
>>> -4%-3
-1
>>> #the sign of result is same as the denominator
>>> #4 addition and subtraction
>>> 3+4
7
>>> 5+5.0
10.0
>>> 6-5.0
1.0
>>> x="abc"
>>> y="def"
>>> x+y
'abcdef'
>>> 
>>> #5 multiply operator
>>> 5*9
45
>>> 8*321
2568
>>> "ab"*6
'abababababab'
>>> #"ab"
>>> #"ab"*3.5 gives erroor
