Saved Bookmarks
| 1. |
Write a program to input radius(r) of a sphere and calculate it\'s volume(v) where V-4/3πr3 |
|
Answer» r= int(input ("write the value of radius of sphere")v= 4*3.14*r**3print ("The volume of the sphere is : ",v/3) r= int(input ("write the value of radius of sphere")v= 4*3.14*r**3print ("The volume of the sphere is :",v/3) r= int(input ("write the value of radius of spherev= 4*3.14*r**3print ("The volume of the sphere is : ",v/3) python 3.8 r=int(input("Enter the radius of circle")) print (4/3*3.14*r*r*r) |
|