Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Chapter 10 Learning Objectives

AnnaHey edited this page Sep 28, 2017 · 6 revisions

By the end of this chapter, students will be able to:

  • Explain what is a list in Python
  • Know how to access elements of a list using the [] index operator
  • Use the len function to determine the length of a list
  • Use Boolean operators in and not in to determine list membership
  • Write code to slice a list
  • Explain how to delete items from a list
  • Explain what it means for a list to be mutable
  • Explain how to concatenate a list
  • Explain how to repeat a list
  • Explain how references work
  • Explain what aliasing is
  • Explain how to clone a list
  • Name some of the list methods
  • Explain what it means to append an item to a list
  • Write a program that traverses through a list using iteration
  • Explain how lists are sent as arguments (passing by reference vs passing by value)
  • Explain what a pure function is
  • Implement a function that produces a list of items (using the accumulator style)
  • Explain what list comprehension is
  • Create an example of how to access an element from nested lists
  • Explain how the string methods split and join work
Clone this wiki locally