Computer Science, asked by pearlagl2408, 1 month ago

write a python program to get the volume of a sphere with radius 6​

Answers

Answered by veerasaimattapalli
1

Answer:

# Python Program to find Volume and Surface Area of Sphere

PI = 3.14

radius = float(input('Please Enter the Radius of a Sphere: '))

sa = 4 * PI * radius * radius

Volume = (4 / 3) * PI * radius * radius * radius

print("\n The Surface area of a Sphere = %.2f" %sa)

print("\n The Volume of a Sphere = %.2f" %Volume)

Similar questions