Put in order · Python course · Module 2: Data Structures

Program with a List

Arrange the steps for creating and displaying a list:

Items to put in order

  • print(first)
  • species = ['Tiger', 'Elephant']
  • first = species[0]
Show the answer

Correct order:

  1. species = ['Tiger', 'Elephant']
  2. first = species[0]
  3. print(first)