Lists – Slicing
A slice [start:stop] extracts a sub-list from a list
What it does: Slice from index 1 up to (not including) index 4. Step -1 traverses the list backwards, producing a reversed copy. Start at index 1, stop before 4: 20(1) 30(2) 40(3). [:2] takes indices 0 and 1: 10, 20. [2:] starts at index 2 and takes everything to the end. Slicing always returns a new list — the original is unchanged. Step of -1 reverses the list. Step of 2 starts at index 0: items at 0, 2, 4 = 1, 3, 5.
Common mistakes: Use colon : for slicing, not comma. Use square brackets for slicing, not parentheses.
Free printable worksheet with full answer key — or add this module to a journey and assign it to your class.
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
list[start:stop]Fill in the Blanks
Spot the Error
Create a free class, add this module to a journey, and track who's stuck.
Create a free teacher account →No credit card. No setup fee. Make a class and invite students in under three minutes.
Practice this topic interactively, track progress, and unlock badges.
Start Learning Free →