"""Solution 7.5.4 — First planet in the list

Chapter 7: Operators — Everyday Programming

Bug type: Logical

List indexing starts at 0, so planets[1] is the second planet, "Venus".
Use index 0 to get the first.

Exercise: ex_7_5_4.py
"""

planets = ["Mercury", "Venus", "Earth"]
first_planet = planets[0]
print(first_planet)   # Mercury
