from turtle import *
width(10)
for j in range(2):
    for i in range(3):
        color('green')
        forward(20)
        penup()
        forward(20)
        pendown()
    for i in range(3):
        color('red')
        forward(20)
        penup()
        forward(20)
        pendown()
mainloop()

4adc9ff191c50b04c2e9d2aad2739a048b4dbbad
<mask token>

<mask token>
width(10)
for j in range(2):
    for i in range(3):
        color('green')
        forward(20)
        penup()
        forward(20)
        pendown()
    for i in range(3):
        color('red')
        forward(20)
        penup()
        forward(20)
        pendown()
mainloop()

from turtle import *
width(10)
for j in range(2):
    for i in range(3):
        color('green')
        forward(20)
        penup()
        forward(20)
        pendown()
    for i in range(3):
        color('red')
        forward(20)
        penup()
        forward(20)
        pendown()
mainloop()
