7 lines
169 B
Python
7 lines
169 B
Python
|
import math
|
||
|
def volume_tetrahedron(num):
|
||
|
volume = (num ** 3 / (6 * math.sqrt(2)))
|
||
|
|
||
|
return round(volume, 2)
|
||
|
|
||
|
print(volume_tetrahedron(10))
|