In this lesson, students will learn about and practice using tuples. A tuple is a heterogenous, immutable data type that stores an ordered sequence of things that can be accessed using indices.
Students will be able to:
In this lesson, students will learn about their second data structure, lists. A list is a mutable, heterogeneous data type that stores an ordered sequence of things.
Students will be able to:
In this lesson, students will learn how lists can be iterated over in a similar way to strings.
Students will be able to:
Methods, in general, are like functions that can be called on objects. Students have seen previously how string methods are called on strings. In this lesson, students will learn about the various list methods that can be called on lists!
Students will be able to:
In this lesson, students will learn how 2d lists are stored and how to use indexing and slicing to extract specific items from a list of lists.
Students will be able to:
In this lesson, students will see how dictionaries differ from other data structures and why they are useful.
Students will be able to: