Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Calculate Volume of Sphere
#python 3.6.9 def print_volume(r): import math #import math function to use value of Pi. v=(4/3)*(math.pi)*r**3 # calculate volume of sphere given radius r. print('Volume of Sphere, v=(4/3)*(math.pi)*r**3= ',v) #print volume of sphere print_volume(5) print_volume(10) print_volume(15)
run
|
edit
|
history
|
help
0
Single and double qoute
BUCLE FOR EN PYTHON 3
time module sleep localtime
on_off
Assignment-2b
Basic_if_else.py
pico menu
python codewars
line 4
Lab_I_2_25_11_2020