Skip to content
Middle School Python
NY-CSDF.6-8.CT.5

Use lists and reason about empty-input boundaries

Use indexing, length, append, membership, sums, maximums, and simple filters.

Learn the skill

  1. 1Use indexing, length, append, membership, sums, maximums, and simple filters.
  2. 2Explain zero-based indexes and empty-list edge cases.

Cited instruction

Use the publisher's material for instruction, then return to PeerTutor for the checked practice written for this skill.

Computer Science and Digital Fluency · New York State Education Department

Practice preview

For nums = [4, 7, 9], what is nums[1]?

For nums = [4, 7, 9], what is nums[-1]?

What does len([4, 7, 9]) return?

Open adaptive practice

Course mapping reviewed by Nikhil on 2026-08-26. Practice is authored for PeerTutor and does not reproduce linked providers' exercises.

Use lists and reason about empty-input boundaries practice · PeerTutor