7 lines
148 B
Python
7 lines
148 B
Python
|
pi = 3.1415
|
||
|
r = 8.0
|
||
|
circle_area = pi * r * r
|
||
|
circle_circum = pi * 2 * r
|
||
|
sphere_vol = (4.0 / 3.0) * pi * r * r * r
|
||
|
sphere_surf_area = 4 * pi * r * r
|