Please enable JavaScript to use CodeHS

Utah Introduction to Python 2

Lesson 2.6 Additional List Methods

Description

In this lesson, students learn how to use two new methods, sort and reverse, to alter list items.


Objective

Students will be able to:

  • Use the sort method to organize items in a list by value
  • Use the reverse method to reverse the order of items in a list