New coding words
turtleimportmethodforwardright
Aim: Create a drawing turtle and control its movement.
turtleimportmethodforwardrightCreate a turtle, draw two lines and turn through a right angle.
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.
Type each movement separately so you can concentrate on what forward() and right() do.
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_5_turtle_square.py. The .py ending tells us that the file contains Python code. Keep this file as a copy of your finished program.

pen.forward(100)Your answers are checked in this browser and are not submitted.
Finished Week 5?
This progress is saved only in this browser.