0Pricing
Coding for Kids · Lesson

Writing Your First Function

Define and call a function.

Time to Build!

Yay! 🎉 Today YOU write your first function.

We will make a recipe that greets people. Let us go! 🚀

The Magic Word def

Every Python recipe starts with the magic word def.

It is short for "define", which means "make".

All lessons in this course

  1. What Is a Function?
  2. Writing Your First Function
  3. Giving Functions Inputs
  4. Returning a Result
← Back to Coding for Kids