Write a Python program to get the volume of a sphere with radius 6

Write a Python program to get the volume of a sphere with radius 6

 

pi = 3.1415926535897931
r= 6.0
V= 4.0/3.0*pi* r**3
print('The volume of the sphere is: ',V)

Result

Write a Python program to get the volume of a sphere with radius 6
Write a Python program to get the volume of a sphere with radius 6

 

 

 

 

 

 

Leave a Comment