Skip to main content

8.5) Exercise 21 - Tuples And Planets


Write a program where:

  1. You define a tuple with the sequence of planets in order of their position relative to the sun, starting from the closest planet
  2. Sort the order of the planets alphabetically using the list method sort(), while protecting the initial sequence of planets