pyBegin / projects / maths
🧮

3D Shape Volume Calculator

A console program that calculates the volume of various 3D shapes (cube, pyramid, cylinder, sphere, cone, ellipsoid, torus, hexagonal prism) from u…

137 linesRunnable

3D Shape Volume Calculator

A console program that calculates the volume of various 3D shapes (cube, pyramid, cylinder, sphere, cone, ellipsoid, torus, hexagonal prism) from user-supplied dimensions.

How to run

python 3dShapeVolume.py

Dependencies

Standard library only.

Pyodide-runnable

Yes — it is a pure-stdlib console program using only input(), print(), and cmath.