1
on
ss
Le
Introduction to Python Turtle
Lesson 1
How to open Python
Step 1:
Your Python screen looks like this
This is what the Python Shell
looks like and you can only
write one line of code at a
time. It is called the “IDLE”
window. DO NOT USE
This EDIT window looks like
a ‘text editing’ app without
the three arrows on the left
margin. It is called the
“script” window. You can
write many lines of code
here.
Start Python Turtle
• Must import the turtle function:
import turtle
• To create and name the turtle:
bob = [Link]()
• Create a window for the turtle to appear in:
wn = [Link]()
Go forward – distance to travel forward
[Link](150)
Go back – distance to travel back
[Link](100)
Turn right – turns the turtle to the right .
[Link](90)
Turn left - turns the turtle to the left
[Link](90)
How to draw a square
import turtle
wn = [Link]()
bob = [Link]()
[Link](150)
[Link](90)
[Link](150)
[Link](90)
[Link](150)
[Link](90)
[Link](150)
Do not save as ‘[Link]’ – Save as [Link] for example
Challenge 1
Write a new python turtle program to draw this shape
Paste your code here
(hint : use snipping tool)
Do not save as ‘[Link]’ – Save as [Link] for example
Challenge 2
Write a new python turtle program to draw this shape
Paste your code here
(hint : use snipping tool)
Do not save as ‘[Link]’ – Save as [Link] for example
Challenge 3
Write a new python turtle program to draw this shape
Paste your code here
(hint : use snipping tool)
Do not save as ‘[Link]’ – Save as [Link] for example
Challenge 4
Write a new python turtle program to draw this shape
Paste your code here
(hint : use snipping tool)
Do not save as ‘[Link]’ – Save as [Link] for example
Challenge 5
Write a new python turtle program to draw this shape
Paste your code here
(hint : use snipping tool)
Do not save as ‘[Link]’ – Save as [Link] for example