15.9k views
3 votes
>>> import math >>> print(math.Pi) 3.141592653589793 >>> def print_volume(): print ("What is the radius of the sphere? Please input:") r=float(input()) V=4/(3*math.Pi*(r**3)) print (V) >>> print_volume() What is the radius of the sphere? Please input: 0.5 3.3953054526271007 >>> print_volume() What is the radius of the sphere? Please input: 15 0.00012575205380100372 >>> print_volume() What is the radius of the sphere? Please input: 5 0.0033953054526271007

User Alan Smith
by
4.9k points

1 Answer

6 votes
i have no clue what this is asking...
User PrimeLens
by
5.2k points