Please enable JavaScript to use CodeHS

Mix and Match Middle School Course

Lesson 5.3 Functions

Description

In this lesson, students will learn how they can create their own commands for Karel by calling and defining functions. Functions allow programmers to create and reuse new commands that make code more readable and scalable.


Objective

Students will be able to:

  • Define a function, and successfully implement functions in their code.
  • Create functions to teach Karel new commands