#uses when you know exactly how many times do something
import turtle
jobzz_turtle=turtle.Turtle()
jobzz_turtle.speed(15) #to set the speed of the turtle
 

def triangle():
  jobzz_turtle.forward(140)
  jobzz_turtle.left(150)
  jobzz_turtle.forward(80)
  jobzz_turtle.left(60)
  jobzz_turtle.forward(80)
  
for i in range(3):
  triangle(3)  #draw triangle for three times

073ab4d596f640b8350cfd61931aa61b6b04759c
<mask token>


def triangle():
    jobzz_turtle.forward(140)
    jobzz_turtle.left(150)
    jobzz_turtle.forward(80)
    jobzz_turtle.left(60)
    jobzz_turtle.forward(80)


<mask token>

<mask token>
jobzz_turtle.speed(15)


def triangle():
    jobzz_turtle.forward(140)
    jobzz_turtle.left(150)
    jobzz_turtle.forward(80)
    jobzz_turtle.left(60)
    jobzz_turtle.forward(80)


for i in range(3):
    triangle(3)

<mask token>
jobzz_turtle = turtle.Turtle()
jobzz_turtle.speed(15)


def triangle():
    jobzz_turtle.forward(140)
    jobzz_turtle.left(150)
    jobzz_turtle.forward(80)
    jobzz_turtle.left(60)
    jobzz_turtle.forward(80)


for i in range(3):
    triangle(3)

import turtle
jobzz_turtle = turtle.Turtle()
jobzz_turtle.speed(15)


def triangle():
    jobzz_turtle.forward(140)
    jobzz_turtle.left(150)
    jobzz_turtle.forward(80)
    jobzz_turtle.left(60)
    jobzz_turtle.forward(80)


for i in range(3):
    triangle(3)

#uses when you know exactly how many times do something
import turtle
jobzz_turtle=turtle.Turtle()
jobzz_turtle.speed(15) #to set the speed of the turtle
 

def triangle():
  jobzz_turtle.forward(140)
  jobzz_turtle.left(150)
  jobzz_turtle.forward(80)
  jobzz_turtle.left(60)
  jobzz_turtle.forward(80)
  
for i in range(3):
  triangle(3)  #draw triangle for three times
