Start with how to open, save and run Python, then work through the lesson: lists, Turtle drawing and the challenges.
Follow these five steps every time you write a program in IDLE.
Go to .
Click on .
You can also press Ctrl + N to open a new window.
Write out your program for each task in the new window. For example:
Click on and give it a name.
Press to run your program.
You can also press F5 to run your program as well.
Work through each part in order. Put your screenshots and answers in your lesson document.
If you drew these steps on a piece of paper, what would you get?
In Python, a list stores a collection of items. Lists can hold different types of data — integers, floats, strings, or even other lists. You make one by putting items inside square brackets [ ], separated by commas.
Think of a list like a digital backpack: you can throw in all kinds of stuff — books, snacks, gadgets, whatever! Each thing in the backpack is an element in the list. And your backpack isn't picky, so ["pizza", 42, 3.14, "robot"] is totally fine.
list[0] is "cat" and list[1] is "bat".Write out the following programs in Python and screenshot your evidence. Use IDLE (see How do I start Python?) or Online Python.
Answer these questions:
for i in range(5) do?
Answer these questions:
import random?Python's turtle module is a powerful tool for learning programming through graphics. It gives you a simple, interactive way to create drawings, designs and even simple games.
Write out the following programs in Python and screenshot your evidence.
Write out the following programs and screenshot your drawing. For each one, explain what the code is doing.
For each one: screenshot of the drawing + what is this code doing?
Choose one option to do. You can also do the Advanced challenge once you have done the Beginner one.
Draw a square using the turtle module. Allow the user to input the side length of the square.
AdvancedCreate a program that draws a polygon with a user-specified number of sides. Allow the user to input the number of sides and the side length.
Create a program that draws a simple spirograph pattern. Allow the user to input the number of cycles and the radius of the pattern.
AdvancedEnhance the spirograph program to include multiple turtles, each drawing a different pattern with unique colours. Allow the user to customise the number of turtles and their properties.
Develop a simple interactive game using the turtle module — for example, the turtle moves in response to arrow key inputs from the user.
AdvancedBuild a more complex game with obstacles, scoring and levels. Use collision detection to handle the turtle hitting obstacles. Control the turtle using arrow keys or other controls.
Feel free to modify and expand on these challenges based on your interests and skill level.
Evidence: screenshot + what is this code doing? Then complete your self-assessment and peer-assessment (WWW / EBI) in your lesson document.