Write the Python Expression to find the volume ( i.e. vol ) of a sphere (lets r is the radius ) i.e vol=........
Answers
Answered by
4
import math
def find_volume(r):
return (4 / 3) * math.pi * r ** 3
r = float(input("enter r: "))
print(f"volume: {find_volume(r):.2f}")
Answered by
1
Answer:
r = input("Enter radius:")
v = 4/3*3.14*r*r*r
print(v)
Similar questions