Python Shorts — Sphere Volume and Earth Ice

John Clark Craig
Solar Chronicles
Published in
3 min readJul 12, 2022

--

A short Python program lets us estimate when the oceans will cover Florida. Seriously.

Photo by Agustín Lautaro on Unsplash

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.

--

--

John Clark Craig
Solar Chronicles

Author, inventor, entrepreneur — passionate about alternate energy, technology, and how Python programming can help you hack your life.