TOPIC 5: Python Lists

2. List Items & Ordered Lists

List Items

The values stored inside a list are called List Items.

thislist = ["apple", "banana", "cherry"]

In this example:

  • apple is a list item

  • banana is a list item

  • cherry is a list item

Ordered Lists

Lists are ordered.

This means that the items in a list have a defined position and order.

thislist = ["apple", "banana", "cherry"]

The order is:

  1. apple

  2. banana

  3. cherry

When a new item is added to the list, it is usually added to the end of the list.