Please enable JavaScript to use CodeHS

Intro to Computer Science in Python 3

Creating and Altering Data Structures

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

Lessons

8.1 Tuples

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

8.2 Lists

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

8.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

8.4 List Methods

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

8.5 Creating and Altering Data Structures Quiz

  • Creating and Altering Data Structures Quiz

Courses that include this module