A1 - Python Turtle Introduction
Software Setup
Before you get started, make sure you complete the last section of the Software Setup on this page (installing Visual Studio Code).
Run the update script, then in Visual Studio Code open the Unit 4 folder.
From there you should be able to open the file a1.py and run it.
Have a look at the code, and observe how the following commands are used:
t.forward(...)- moves the turtle forward by the given number of pixelst.right(...)andt.left(...)- rotates the turtle right or left by the given number of degreest.speed(...)- sets the speed of the turtlet.color(...)- sets the colour of the turtle's trailt.width(...)- sets the width of the turtle's trail
If you'd like to check out some other commands, this page has some good examples. Once you scroll down to the Loops section of the page, it starts getting into some more advanced techniques which we will be going into later.
Your Task
Modify the file to create your own drawing that at least makes use of the commands listed above. I'm not marking you on your artistic ability, but I do want you to convince me you can use these commands effectively.