Exercise: Exploring Earth-like Planets
It's your turn to explore the Kepler exoplanets!
Take the completed project code from GitHub here https://github.com/odziem/planet-csv-deno and, from the 8 Earth-like planets that we found, find the planet with the longest orbital period. Then find the shortest orbital period. (The orbital period is the time a given astronomical object takes to complete one orbit around another object, and applies in astronomy usually to planets or asteroids orbiting the Sun, moons orbiting planets, exoplanets orbiting other stars, or binary stars.)
Scroll to see the answer...
Solution: https://github.com/odziem/planet-csv-exercise
From the 8 planets that we originally found: 20.3504704 days was the longest orbital period found.
That's one really short year!
And 0.669310092 days was the shortest orbital period found.
That planet orbits its sun in only a few hours!
It's a crazy universe out there.
Have questions or issues you are encountering? Post your questions in our #deno channel on Discord! (see lecture 2 to join the community)