Lesson 5.2

Return Functions

Lesson
5.2

Return Functions

This lesson uses:

CoDrone EDU CoDrone EDU / CoDrone EDU (JROTC edition)
Python Python

In this lesson, students will learn how to use return functions to send values back from a function so they can be stored and reused in their programs. They will compare return functions to void functions and explore how returned values can be used in calculations, loops, and drone behaviors.