Lesson 17 of 79 · 15 minutes
What is a function?: Tool Bench
Use Python's ready-made tools to count, round and compare.
This game is part of the full course.You own the full course.
Unlock all 79 Python coding games for $9, once.Opening the game…
Unlock for $9Play now
What you'll learn
- What is a function?
- Functions give back a value
- round() and abs()
- max() and min()
- Don't forget the brackets
Each idea opens with a short narrated video, about 2 minutes in all. Then you put it to work in the game.
The six levels
- Word Counter Change it
- Keep the Answer Copy and type
- Tidy Prices Fill the gap
- Top Score Write it
- Unused Tool Fix it
- Three Jobs Boss level
The levels go from changing one word, to writing the code on your own. The boss level changes every time you play.
New to Python? Start with the free games in Module 1.