Please enable JavaScript to use CodeHS

Intro to Computer Science in Python 3

Description

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.

Objective

Students will be able to:

  • Use 2d lists to store information in rows and columns
Description

In this lesson, students will learn how to use list comprehensions to alter the items in a list with one line of code.

Objective

Students will be able to:

  • Perform list comprehensions in order to alter all items in a list at once
Description

In this lesson, students will learn how packing and unpacking makes assigning variables to list items very easy and quick.

Objective

Students will be able to:

  • Pack and unpack lists in order to quickly and efficiently assign variables to list items
Description

In this lesson, students will see how dictionaries differ from other data structures and why they are useful.

Objective

Students will be able to:

  • Use dictionaries to structure data
Description

In this lesson, students will learn the difference between equivalence and identity of values.

Objective

Students will be able to:

  • Predict if two values are identical and/or equivalent
Description

In this lesson, students review content with a 15 question Unit Quiz.

Objective

Students will be able to:

  • Prove their knowledge of data structures through a multiple choice quiz