Control and Customize Turtle
Movements in Python
Lesson Objectives
By the end of the lesson, the learner should be
able to;
set the Turtle’s x-coordinate using [Link]().
set the Turtle’s y-coordinate using [Link]().
set the Turtle’s heading using [Link]().
draw dots using [Link]().
[Link]() [Link]()
Function Function
Sets the Turtle’s x-coordinate, leaving
the y-coordinate unchanged. Sets the Turtle’s y-coordinate,
leaving the x-coordinate
Syntax: [Link](x)
unchanged.
Parameter: x (a number, integer or
Syntax: [Link](y)
float).
Parameter: y (a number, integer
or float).
[Link]()
Function
Sets the Turtle’s heading (orientation) to a
specified angle.
Syntax: [Link](to_angle) or [Link]
ding(to_angle).
Parameter: to_angle (a number, integer or
float).
Common directions:
0°: East
90°: North
180°: West
270°: South
Draws a circular dot with a [Link]()
specified size and color. Function
Syntax: [Link](size=None,
*color)
Parameters:
size: Diameter of the dot
(integer >= 1).
color: Color of the dot
(colorstring or numeric color
tuple).
Assignment
Create a Turtle Design
Objective:
The goal of this assignment is to reinforce your understanding of the Turtle library by creating a
unique design using the [Link](), [Link](), [Link](), and [Link]() functions. You
will also customize the Turtle’s appearance and movement to create an engaging visual output.
Requirements
Use the following Turtle functions at least once in your program:
[Link]()
[Link]()
Submission Guidelines
[Link]()
1.
[Link]()
Submit your Python code as
Customize the Turtle’s speed and appearance (e.g., pen color, pen size, shape).
a .py file.
Include at least three dots and two directional changes in your design.
Include a screenshot of your
Add a title or label to your design using the [Link]() function.
Turtle design.
Write a short explanation (2-3
sentences) describing your