programming-examples/python/_Basics/Python program to get the the volume of a sphere with radius 6.py
2019-11-15 12:59:38 +01:00

4 lines
102 B
Python

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