🧮
3D Shape Volume Calculator
Python137 lines· A console program that calculates the volume of various 3D shapes (cube, pyramid, cylinder, sphere, cone, ellipsoid, torus, hexagonal prism) from u…
Original project by @ChefYeshpal — view source on GitHubReady when you are
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.
maths.py· Python 3.x
136 linesConsole· terminal