Getting Answers Back
Return results from a function.
Spells That Answer 💬
Some spells do not just speak. They hand you an answer back! 🎁
The magic word for this is return. ↩️
Like Asking a Wizard 🧙
Imagine asking a wizard: "What is 2 + 2?"
The wizard thinks, then hands you the answer: 4! 🪄
All lessons in this course
- What Is a Function?
- Making Your First Function
- Giving Functions Information
- Getting Answers Back