1import turtle
2
3t=turtle.Turtle()
4for i in range(5):
5 t.begin_fill()
6 t.forward(75)
7 t.right(144)
8t.end_fill()
1import turtle
2
3board = turtle.Turtle()
4
5board.forward(100) # draw base
6
7board.left(120)
8board.forward(100)
9
10board.left(120)
11board.forward(100)
12
13turtle.done()
14
1import turtle
2s = turtle.getscreen()
3q = turtle.Turtle()
4q.fd(100)
5q.rt(90)
6q.fd(100)
7q.lt(-130)
8q.fd(150)
9