0Pricing
Coding for Kids · Lesson

Returning a Result

Send an answer back from a function.

Functions That Give Back

Hi superstar! ⭐ So far our recipes printed things.

Today they will return something, like handing you a gift back!

What Is Return?

The word return means "give this answer back to whoever called me". 🎁

It is different from print. Return hands you a value to use!

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