import turtle
#Exam turle question
#Task 1

turtle.speed(0)
countx = 0
while countx < 2:
    count = 0
    while count < 180:
        turtle.forward(1)
        turtle.right(1)
        count +=1
    turtle.forward(90)
    countx +=1
    
turtle.penup()
turtle.forward(150)
turtle.pendown()

#Task 2

count = 0
while count < 5:
    turtle.forward(90)
    turtle.right(144)
    count += 1

turtle.left(90)
turtle.penup()
turtle.forward(100)
turtle.pendown()

#Task 3

count = 250
while count != 10:
    turtle.forward(count)
    turtle.right(90)
    turtle.forward(count)
    turtle.right(90)
    count -= 10
