Magnets and the Earth's field in code | StemPy Lab