Describing Elliptical Orbits Programmatically

I decided to see if I could use math, and Python, to describe the orbits of Earth and Mars.