Python array: list (indexed, contiguous)

Goal Each element sits at a numbered index starting from 0. Run this program of reads, slices, and appends and predict the result of every line — the code shows the actual Python call.
result:
index → each box is addressed by its position number
read / slice append (grows the array) unused capacity

New to arrays? Learn the fundamentals in the Foundation Course →