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

Chapter 4 Learning Objectives

AnnaHey edited this page Sep 22, 2017 · 2 revisions

By the end of this class students will be able to:

Modules

  • Explain the keyword import and what it is used for
  • Explain what a module is
  • Explain the two steps needed to use a module
  • Explain the difference between a function that is part of module and a function that is part of Python (such as print)
  • List the three modules introduced in "Think Python" and describe what each might be used for
  • Explain where you might go to find information about a module

Loops

  • Explain how to use for loop syntax with lists
  • Explain the role of a loop iterator variable
  • Write a for loop that uses a list literal, such as [1, 2, 3, 4]
  • Write a for loop that uses the iterator variable in the loop body
  • Write a for loop that uses a list variable
  • Use the range function to generate lists of integers
  • Use the range function within a list definition
  • Create turtle objects
  • Use common turtle methods including left, forward