Computer Science, asked by Anonymous, 5 months ago

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 valeriy69
4

\small\mathsf\color{pink}{Solution\: using\: python\: 3}

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}")

\small\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Answered by figrayx
1

Answer:

r = input("Enter radius:")

v = 4/3*3.14*r*r*r

print(v)

Similar questions