Python Turtle
Python Turtle
Programming
http://www.yahmad.co.uk/
Introduction to Python and Variables
Objectives
Understand how to create and save programs in Python.
Understand the use of Variables and how to assign them values.
Programming
Understand the use of different commands such as PenUp/PenDown, goto, forward, backward,
left, right and t.begin_fill() & t.end_fill().
Understand how use a for loop to repeat commands.
Outcomes Time
Task 1 Open Python and Save a New File
Task 2 Import Turtle and PenUp/Down
Task 3 Create a Triangle
Task 4 Creating shapes using a for loop
Task 5 Extension: Create the additional shapes
http://www.yahmad.co.uk/
Task 1 – Open Python and Save a New File
Programming
1. Make a new
Python Folder
2. Open Python Idle.
Variable:
Placeholder to
t=
store values
which can be
called upon later 1. Import the Turtle
Programming
Start point to
draw the turtle
Task 3 – Creating shapes using a for loop
Objectives
Understand how to create and save programs in Python.
Understand the use of Variables and how to assign them values.
Programming
Understand the use of different commands such as PenUp/PenDown, goto, forward, backward,
left, right and t.begin_fill() & t.end_fill().
Understand how use a for loop to repeat commands.
http://www.yahmad.co.uk/