Lists · Part 1
Create, index, slice, len, append, insert, del, in / not in.
Lesson 07 · Lists · Part 1 — Level I · Guide
July 2, 2026 · Bridge Academy Python Program
Learning goals
- Create lists with square brackets and an empty list []. - Index elements with lst[0], lst[-1], and positions in between. - Slice lists with lst[:3], lst[3:], lst[2:5], and step slices like lst[::2] and lst[::-1]. - Measure length with len(lst). - Grow and shrink lists with .append(), .insert(), and del. - Check membership with in and not in.
This lesson covers PCEP-30-02 objective 3.1.
Preview truncated — download the notebook to see the full lesson.