New coding words
functiondefinecallparameterreusable
Your mission: Group useful commands, give them a name and use them again.
functiondefinecallparameterreusableDefine a cheer function and call it using two different names.
Tab indents. Esc then Tab leaves the editor. Ctrl/⌘ + Enter runs your code.
Select Run my code to try this program.
Build a function that draws squares in different sizes and colours.
Tab indents. Esc then Tab leaves the editor. Ctrl/⌘ + Enter runs your code.
Select Run my code to try this program.
Run your code to draw here.
Complete these activities in the mini-project editor above. After each change, select Run my code to check your program’s output or drawing.
Select Download my work and save the file as week_11_turtle_shape_factory.py. The .py ending tells us that the file contains Python code. Keep this file as a copy of your finished program.

cheer(name)Your answers are checked in this browser and are not submitted.
Finished Week 11?
This progress is saved only in this browser.