diff options
Diffstat (limited to 'progs/a675.py')
-rw-r--r-- | progs/a675.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/a675.py b/progs/a675.py new file mode 100644 index 0000000..1de8c7a --- /dev/null +++ b/progs/a675.py @@ -0,0 +1,4 @@ +import math
+def volume_cone(r,h):
+ volume = (1.0/3) * math.pi * r * r * h
+ return volume
\ No newline at end of file |