Please enable JavaScript to use CodeHS

South Carolina Intermediate Computer Programming

Basic Data Structures

Students learn the basics of lists in Python while exploring tuples and lists. Students will explore how to create each of these data structures and the various methods to access or alter them.

Lessons

4.1 Tuples

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

4.2 Lists

  • Lists
  • Lists
  • A List Is Like a Mutable Tuple
  • List of Tuples, Tuples of Lists
  • String <--> List
  • +4 more

4.3 For Loops and Lists

  • For Loops and Lists
  • For Loops and Lists
  • Sum List
  • For Loops and Lists
  • For Loops and Lists, Part 2
  • +5 more

4.4 List Methods

  • List Methods
  • List Methods
  • Append and Extend
  • How Many Names?
  • Five Numbers
  • +11 more

4.5 Basic Data Structures Quiz

  • Basic Data Structures Quiz