summaryrefslogtreecommitdiff
path: root/progs/a882.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a882.py')
-rw-r--r--progs/a882.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/a882.py b/progs/a882.py
new file mode 100644
index 0000000..ba27baa
--- /dev/null
+++ b/progs/a882.py
@@ -0,0 +1,4 @@
+import math
+def volume_tetrahedron(num):
+ volume = (num ** 3 / (6 * math.sqrt(2)))
+ return round(volume, 2) \ No newline at end of file