Python Shorts — Sphere Volume and Earth Ice
Published in
3 min readJul 12, 2022
--
A short Python program lets us estimate when the oceans will cover Florida. Seriously.
If you know the radius of a sphere, you can easily use Python to calculate the sphere’s volume. Or, if you know a sphere’s volume, you can calculate its radius. Here’s the formula that ties these two variables together, where V is volume and r is radius of a sphere.