Please enable JavaScript to use CodeHS

Utah Introduction to Python 1 and 2

Lesson 12.1 List Length

Description

In this lesson, students learn how to use the len function to determine the length of a list.


Objective

Students will be able to:

  • use the len function to determine the number of items in a list
  • use the len function to access list items