Workshop 3: Computing with functions

Writing your own functions and using them to break a problem into smaller pieces.

  • 6 lessons
  • 2 parts
  • Finish Workshop 2 first.

Your lessons, in order

Work from top to bottom. Lessons teach a new idea, then practice and challenges let you use it. Tick "Done" as you finish each one.

Part 1 Functions

Part 2 Final project

Answer keys

Try each exercise on your own first. Keys open in Google Colab, which needs a Google account.

The calculator project is shelved for now.

Up next: Workshop 4

Working with lists and 2D lists, building toward a game of Connect 4.

Go to Workshop 4