
![[IGCS] For-loop with tutle](https://cf.quizizz.com/img/presentation/default-img/presentation_title_img-1_idea.jpg?w=200&h=200)
[IGCS] For-loop with tutle
Presentation
•
Social Studies, Computers
•
9th Grade
•
Practice Problem
•
Hard
Andy tsui
Used 6+ times
FREE Resource
11 Slides • 2 Questions
1
[IGCS] For-loop with tutle

2
Introducing Turtle graphics
In REPL.it, start a new "Python with Turtle" project
Name it with "for-loop-with-turtle"
On the first two line, do:
3
Enter the following in your new REPL
import turtle
t = turtle.Turtle()
4
Run, and on the command console, try:
t.forward(50)
t.left(50)
Note what are they doing? and can you guess how to go backward and rotate right?
5
Drawing regular shapes
Try to draw a square
6
Fill in the Blanks
Type answer...
7
Now try to draw the square with For-loop
8
Multiple Choice
Now we try to draw equilateral triangle, we need to repeat 3 times the following:
t.forward(50)
t.right([X])
What is X?
60
120
30
150
9
120 is the exterior angle
Can you recall the formula for it?
10
Exterior angle of n-side polygon
ext_angle = 360 / n
11
Practice time, using for loops to:
Draw a Pentagon of each side 20 unit long
Draw a Hexagon of 20 unit long
Draw an Octagon of 20 unit long
Draw a Decagon of 20 unit long
12
Finding the pattern
In a regular polygon:
for i in range (n):
⠀t.forward(20)
⠀t.right(?)
13
Summary
For loop is for counting and the counter can be used as a variable
It is usually not advisable to change the counter value inside the loop
[IGCS] For-loop with tutle

Show answer
Auto Play
Slide 1 / 13
SLIDE
Similar Resources on Wayground
10 questions
How to write an email
Presentation
•
9th Grade
11 questions
Christianity in the Roman Empire
Presentation
•
9th Grade
10 questions
Chinese Exclusion
Presentation
•
9th Grade
10 questions
Coding in Kindergarten 2023
Presentation
•
KG
10 questions
Sai's Thai
Presentation
•
KG
10 questions
Nested Loops
Presentation
•
9th - 10th Grade
8 questions
Plan y métodos de investigación
Presentation
•
9th Grade
11 questions
Human Impact
Presentation
•
9th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Assessment 2
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
12 questions
2026 TAP Technology in the Classroom
Presentation
•
Professional Development
15 questions
HCS SCI 05 Summer School Assessment 2 Review
Quiz
•
5th Grade
15 questions
HCS SCI 04 Summer School Review 2
Quiz
•
4th Grade
59 questions
Geometry Unit 3 Review
Quiz
•
9th - 12th Grade
14 questions
FAST ELA READING SMAPLE TEST MATERIALS
Passage
•
3rd Grade