Assignment-2/testing_code/p1.py
2019-04-17 16:46:07 -07:00

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