Skip to content
Learn
Loop
π― Focus
π
Home
π»
Software Eng
π§
Computer Science
π€
AI & ML
π¦Ύ
Robotics
π§ͺ
Playground
π
Achievements
βοΈ
Settings
β Software Engineering
π§©
Your first function
1
2
3
4
0/4 done
See it
A function is a recipe
You give it
inputs
.
It follows some steps.
It hands back an
output
with
return
.
π₯
Input
n = 4
β
π³
Function
double
β
π½οΈ
Output
8
Got it β