1import turtle
2for i in range(2):
3 turtle.forward(20)
4 turtle.right(90)
5 turtle.forward(10)
1import turtle
2for i in range(2):
3 turtle.forward(20)
4 turtle.right(90)
5 turtle.forward(10)
6
1from turtle import *
2
3fillcolor("red")
4begin_fill()
5
6for i in range(2):
7 forward(300)
8 right(90)
9 forward(150)
10 right(90)
11
12end_fill()
13hideturtle()