Python program to Declare 10 variables and perform arithmetic operations(Exponential, Modulus and Floor Division) on them.

Advertisements
Advertisements
Advertisements3
Advertisements4
Advertisements6
Advertisements66
# Declare 10 variables and perform arithmetic operations(Exponential, Modulus and Floor Division) on them.
a=1
b=2
c=3
d=4
e=5
f=6
g=7
h=8
i=9
j=10

#Exponential operation
x=(j**a)
y=(x**b)
print(y)

#Modulus operation
z=(d%c)
print(z)

#floor division
fd=(g//f)
print(fd)



Author: Lakshmi Prasanna Ponnala

Completed M.Tech in Digital Electronics and Communication Systems.

Leave a Reply

error: Content is protected !!

Discover more from ece4uplp

Subscribe now to keep reading and get access to the full archive.

Continue reading