Skip to main content

Make Simple Graphic in Python Using Turtle | Coding With Roannie

Make Simple Graphic in Python Using Turtle     


CODING WITH ROANNIE


SOURCE CODE :


import turtle

turtle.speed(0)


cwr = turtle.Turtle()

turtle.bgcolor("Aqua")

turtle.speed(0)

for i in range(50):

      for color in["white""black""red","orange"] :

            turtle.color(color)
            turtle.pensize(2)
            turtle.left(12)
            turtle.forward(200)
            turtle.left(90)
            turtle.forward(200)
            turtle.left(90)
            turtle.forward(200)
            turtle.left(90)
            turtle.forward(200)
            turtle.left(90)








#CODINGWITHROANNIE
YOUTUBE