Write a Program named evaluate.py to import the module calculate to find the area and volume of a sphere?
Answers
Answered by
1
Answer:
import math;
r=float(input("Enter the circle radius"))
area=4 * math.pi * r**2
volume = (4/3) * (math.pi * radian ** 3)
print("surface area is:{:.3f}".format(area))
print("volume of sphere:{:.3f}".format(volume))
Explanation:
save this code in any name you want and run it
i have limited the decimal places to be displayed as 3
Similar questions