Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
118 views5 pages

Turtle Worksheet

The document outlines a step-by-step homework guide for practicing turtle graphics commands in Python. It includes ten tasks, each focusing on different aspects of turtle graphics such as movement, drawing shapes, adding color, and controlling the turtle's visibility. The final task encourages creativity by combining all learned commands into a single drawing project.

Uploaded by

Ridm D
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
118 views5 pages

Turtle Worksheet

The document outlines a step-by-step homework guide for practicing turtle graphics commands in Python. It includes ten tasks, each focusing on different aspects of turtle graphics such as movement, drawing shapes, adding color, and controlling the turtle's visibility. The final task encourages creativity by combining all learned commands into a single drawing project.

Uploaded by

Ridm D
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

🐢 GCSE Turtle Graphics Homework – Step-by-Step

Revision

🎯 Goal: Practise all turtle commands from the PLS

✅ 📦 Before Every Task: Set Up the Screen


Make sure every task begins with this setup:

import turtle

screen = turtle.Screen() # Create the turtle screen


screen.setup(800, 600) # Set the window size
turtle.mode("standard") # Ensure standard mode
t = turtle.Turtle() # Create the turtle

🔹 Task 1: Move and Turn


Objective: Practise basic movement commands.

t.forward(100)
t.left(90)
t.forward(100)

✅ Commands used: forward() , left()

🔹 Task 2: Draw a Square with a Loop


Objective: Use iteration to draw a shape.
for _ in range(4):
t.forward(100)
t.left(90)

✅ Commands used: for , forward() , left()

🔹 Task 3: Add Color and Thickness


Objective: Use pen customization commands.

t.pencolor("blue")
t.pensize(3)

for _ in range(4):
t.forward(100)
t.left(90)

✅ Commands used: pencolor() , pensize()

🔹 Task 4: Move Without Drawing


Objective: Use pen control and positioning.

t.pendown()
for _ in range(4):
t.forward(100)
t.left(90)

t.penup()
t.setposition(150, 0)
t.pendown()

for _ in range(4):
t.forward(100)
t.left(90)
✅ Commands used: penup() , pendown() , setposition()

🔹 Task 5: Fill a Triangle


Objective: Use shape filling commands.

t.fillcolor("red")
t.begin_fill()
for _ in range(3):
t.forward(100)
t.left(120)
t.end_fill()

✅ Commands used: fillcolor() , begin_fill() , end_fill()

🔹 Task 6: Use circle()

Objective: Draw full and partial circles.

t.circle(50) # Full circle


t.penup()
t.setposition(150, 0)
t.pendown()
t.circle(100, 180) # Semi-circle

✅ Commands used: circle(radius) , circle(radius, extent)

🔹 Task 7: Use home() and reset()

Objective: Control turtle position and clear the screen.


t.forward(100)
t.home() # Go back to (0, 0)
t.forward(50)
t.reset() # Clear everything
t.forward(100)

✅ Commands used: home() , reset()

🔹 Task 8: Set Heading and Position


Objective: Use direction and absolute movement.

t.penup()
t.setposition(100, 100)
t.setheading(45)
t.pendown()
t.forward(100)

✅ Commands used: setposition(x, y) , setheading(degrees)

🔹 Task 9: Show and Hide the Turtle


Objective: Control turtle visibility.

t.hideturtle()
t.forward(100)
t.showturtle()
t.forward(100)

✅ Commands used: hideturtle() , showturtle()

🔹 Task 10: Final Drawing Challenge


Objective: Combine everything into one creative scene.
Create a drawing that includes:

A filled square
A filled triangle
A full circle (maybe the sun)
Movement and positioning
Customized pen and fill colors

Creativity is encouraged, but you must use:

fillcolor() , begin_fill() , end_fill()


penup() , pendown()
setposition() , setheading()
circle()
reset() or home() somewhere

📌 Task completion Instructions


Save each task as:

Firstname_TaskX.py

You might also like