Please enable JavaScript to use CodeHS

Introduction to Python Programming

Creating and Altering Data Structures

Students learn how tuples and lists are formed and the various methods that can alter them.

Lessons

12.1 Tuples

  • Tuples
  • Tuples
  • A Tuple Is a Sequence
  • A Tuple is Heterogeneous
  • Tuples With a Single Element
  • +5 more

12.2 Lists

  • Lists
  • Lists
  • A List Is Like a Mutable Tuple
  • String <--> List
  • Spell It Out
  • +3 more

12.3 For Loops and Lists

  • For Loops and Lists
  • For Loops and Lists
  • For Loops and Lists
  • For Loops and Lists, Part 2
  • Max In List
  • +4 more

12.4 List Methods

  • List Methods
  • List Methods
  • append and extend
  • How Many Names?
  • Five Numbers
  • +8 more

12.5 Creating and Altering Data Structures Quiz

  • Creating and Altering Data Structures Quiz