← Testing and Debugging
Test with assert
① Learn
A small assert can act like a mini test. It checks that a function returns the value you expect.
② Implement — write it, run it, submit
Goal
Add an `assert` that checks `double(4)` is `8`.
Output
Hints
- Stuck? Reveal a hint.