Skip to content

Sep 25: Tuples, Return Values

Meet in King 248

Learning Objectives

After today's class, you should be able to:

  • Group a fixed set of values into a tuple, such as (x, y).
  • Return several values, and unpack them into separate variables.
  • Write a docstring for a function (following Google's Style).

Lesson Outline

Presentation [10 min]

  • Tuples: grouping values, multiple return values

Mini Lecture [10 min]

Lab (Part 2) [30 min]

Your To-Do List