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

Lesson 1 Python Turtle

This document provides instructions for learning to write programs that can draw shapes using a turtle in Python. It outlines key words like import, turtle, and fun and gives examples of simple programs to draw squares and triangles. It provides challenges to create more complex programs that combine different drawing methods and use features like filling shapes with colors and looping. The objective is to be able to write your own turtle programs.

Uploaded by

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

Lesson 1 Python Turtle

This document provides instructions for learning to write programs that can draw shapes using a turtle in Python. It outlines key words like import, turtle, and fun and gives examples of simple programs to draw squares and triangles. It provides challenges to create more complex programs that combine different drawing methods and use features like filling shapes with colors and looping. The objective is to be able to write your own turtle programs.

Uploaded by

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

Learning

Objective: Turtle Power


Be able to write your own program
to draw shapes using the turtle

Key words:

Import
Turtle
Fun

03/01/2024
Learning Be able to write your own program
Objective: to draw shapes using the turtle

Starter Activity
Key words:

Import
After an experiment with your teacher went wrong,
Turtle
they can only think like a robot. Using only the
Fun
commands below get your teacher back to their desk.

Forward 1 step Turn 90 degrees left


Back 1 step Turn 90 degrees right

03/01/2024
Learning Be able to write your own program
Objective: to draw shapes using the turtle

Key words:

Import
Turtle
Fun
Apply the Implement the pen
Understand command to change up command to move
how to create 4 the colour of your the turtle without
simple shapes shape and the size drawing
of the line

03/01/2024
Learning Be able to write your own program
Objective: to draw shapes using the turtle

Key words:

Import
Turtle
Fun

Remember how to make 2


different shapes using your
turtle.

03/01/2024
Learning Be able to write your own program
Objective: to draw shapes using the turtle

Key words:

Import
Turtle
Fun
Using the circle commands
create the Olympic rings
for Sochi 2014

03/01/2024
Learning Be able to write your own program
Objective: to draw shapes using the turtle

Open Portable Python. Key words:


Click start
All Programs Import
ICT Turtle
Portable Python Fun
Portable Python 3.2.1.3

Goto File > Open “Homedrive:\ ICT \


Level 1 \ Year 8 \ Turtles \ My Turtle “

Save it to your own area in a new folder

03/01/2024
Learning Be able to write your own program
Objective: to draw shapes using the turtle

Open Portable Python. Key words:


Click start
All Programs Import
ICT Turtle
Portable Python Fun
Portable Python 3.2.1.3

Copy “Homedrive:\ ICT \ Level 1 \ Year


8 \ Turtles \ My Turtle “ To your own
area

03/01/2024
Learning Be able to write your own program
Objective: to draw shapes using the turtle

Key words:
Press the run button
Import
Turtle
What happens? Fun

Can you copy / repeat this line


to make a square?

03/01/2024
Learning Be able to write your own program
Objective: to draw shapes using the turtle

from turtle import * Key words:


wn = turtle.Screen(shape="turtle”)
bob = turtle.Turtle()
Import
bob.forward(100) Turtle
bob.right(90)
Fun
bob.forward(100)
bob.right(90)
bob.forward(100)
bob.right(90)
bob.forward(100)
bob.right(90) look like mine?
wn.exitonclick()

03/01/2024
Learning Be able to write your own program
Objective: to draw shapes using the turtle

Key words:
So how could we create a triangle?
Import
Remember
Turtle
There are 3 side to a triangle and it has 180 degrees Fun
inside it

03/01/2024
Learning Be able to write your own program
Objective: to draw shapes using the turtle

Challenge Key words:

1. Create a simple program to draw Import


a square Turtle
2. Create a simple program to draw Fun

a triangle
3. Create a simple program to draw
your own shape

Don’t forget to enter them


into your code diary
03/01/2024
Learning Be able to write your own program
Objective: to draw shapes using the turtle

Now its your turn! Key words:


• Come and choose an activity Import
• Try the code Turtle
• Solve the problems Fun
• Teach the class

03/01/2024
Learning Be able to write your own program
Objective: to draw shapes using the turtle

Key words:

Import
Turtle
Complete the tasks – using logic to combine different methods! Fun
Create a simple program to draw a triangle, fill it green and with a red line
1. Draw a different shape, fill and colour it using repeat functions
2. Create a program to draw your name in orange, green background, width 6
3. Create a program to draw a Hexagon using looping and a while statement,
and the forward and right command only once
5. Create a program to draw an Octagon using looping and a for statement, and
the forward and left command only once
6. Create a program using multiple turtles and looping

OR
• Try coming up with your own challenge – combining all of the new
skills you have learnt! (Monster challenge!)
03/01/2024
Learning Be able to write your own program
What’s Next…
Objective: to draw shapes using the turtle

Key words:

ICT Wants
Import
Turtle
Fun

You!
03/01/2024
Date: 10/1/14 Period: 2 Unit: Number(Binary) LO:

To explore / investigate ????


Learning Objective:

Tidy up Activity
 All waste paper in Recycle bin
 All books back in box

Please return me to the tray

Please replace my lid after use,


and return me to the tray
Always Believe That You Can Achieve!
03/01/2024

You might also like