def Integer_Math(Side, Radius):
# Write your code here
AreaS=int(math.pow(Side,2))# sq number=math.pow(num,2)
VolumeC=Side*AreaS
AreaC=3.14*math.pow(Radius,2)
VolumeS=4/3*(3.14*Radius*Radius*Radius)
AC=round(AreaC,2) # roundoff=round(num,digit)
VS=round(VolumeS,2)
print("Area of Square is "+str(AreaS))
print("Volume of Cube is "+str(VolumeC))
print("Area of Circle is "+str(AC))
print("Volume of Sphere is "+str(VS))
Comments
Post a Comment