0% found this document useful (0 votes)
0 views15 pages

Turtle Introduction

The document outlines a lesson plan for teaching Python programming, specifically focusing on variables, the Turtle library for drawing, and basic movement commands. It includes questions for students to assess their understanding of variable declarations and Turtle functionality. Additionally, it provides steps for setting up Turtle, creating drawings, and a challenge for students to create their own Turtle art.

Uploaded by

Mustafa
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)
0 views15 pages

Turtle Introduction

The document outlines a lesson plan for teaching Python programming, specifically focusing on variables, the Turtle library for drawing, and basic movement commands. It includes questions for students to assess their understanding of variable declarations and Turtle functionality. Additionally, it provides steps for setting up Turtle, creating drawings, and a challenge for students to create their own Turtle art.

Uploaded by

Mustafa
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

Do Now

• 1. What is a variable in Python?


• A) A fixed value
B) A name that stores data
C) A type of loop
D) A Python error
Do Now

2. Which of the following is a correct variable declaration?


A) int x = 5
B) x == 5
C) x = 5
D) 5 = x
Do Now

4. Which symbol is used to assign a value to a variable?


A) ==
B) =
C) :
D) !=
Learning Outcome To Know

• By the end of this lesson, students will: •To know how to run a Python program
(e.g., opening Python and clicking run to see the
• Understand how to run a Python program
output)
• Use the Turtle library to draw shapes •To know how to use the Turtle library to draw
shapes
• Control movement using simple commands
(e.g., using turtle to create drawings on the screen)
• Create their own drawing using code •To know basic movement commands in Turtle
(e.g., forward(), left(), right())
•To know how to combine commands to create a
simple drawing
(e.g., using code to draw shapes like squares or
patterns)
To Know
🐢 What is Turtle?
• Turtle in Python is a simple drawing tool that lets you create pictures
using code.
• Turtle is a Python library that controls a small on-screen “turtle”
(like a pen).

You give it instructions, and it moves around the screen drawing lines.
To Know
💻 Step 1: Setting Up Turtle
• Open [Link]

THE most important


step in turtle
programming
I Do
To Know
✏️ Step 2: Basic Movement
I Do
To Know
✏️ Step 2: Basic Movement

🧩 What’s happening?
•forward(100) → moves forward 100 pixels
• left(90) → turns left 90 degrees
Change the angle to 45 and observe what happens!!
I Do
To Know
🔷 Step 3: Drawing a Square
I Do
To Know
🎨 Step 4: Changing Colors & Speed

Observe Line Number 4 and 5


You Do
Using online editor
• [Link]
• 🎯 Challenge: Create Your Own Turtle Art

• Create a drawing that includes:


• ✅ At least 2 different shapes (Triangle/Rectangle)
✅ At least 2 different colors (Any color of your choice)
Affirmative Checking

• 1. What does the Turtle in Python do?


A) Plays a game
B) Draws on the screen
C) Solves maths problems
D) Stores data
Affirmative Checking

2. Which command moves the turtle forward 100 pixels?

forward(100)
Affirmative Checking

3. What does this command do?


[Link](90)

Turns left by 90 degree


Affirmative Checking

4. What do you need to write first to use Turtle in Python?

import turtle

You might also like