Each planet has several pieces of information, such as:
Name
Distance from the Sun (in million km)
Number of moons
Use three lists to store this information.
Example:
names = ["Mercury", "Venus", "Earth", "Mars"]
distances = [58, 108, 150, 228] # million km
moons = [0, 0, 1, 2]
Practice Questions:
Print all planet names with their distance and number of moons.
Find which planet is farthest from the Sun.
Display planets that have more than 1 moon.
Challenge:
Sort the planets by distance from the Sun (hint: use zip() or sorted()).