Skip to content

Sequences¶

About This Lesson¶

Explore Python's sequential data types and operations. Learn about common sequence operations that work across strings, lists, tuples, and other sequence types.

What You'll Learn¶

  • What are sequences in Python
  • Common sequence operations (indexing, slicing)
  • Sequence methods
  • Iteration over sequences
  • Sequence unpacking
  • Use the MkDocs navigation on the left to move between lessons
  • The notebook below is fully interactive - you can run and edit code
  • Your changes are saved in your browser's local storage

Interactive Notebook¶


Having trouble with the embedded notebook? Try one of these: