1 import turtle 2 turtle.setup(600,550,200,200) 3 turtle.pensize(1) 4 turtle.fillcolor("red") 5 turtle.begin_fill() 6 for i in range(5): 7 turtle.fd(200) 8 turtle.left(216) 9 turtle.end_fill()
2023-10-08 13:33:34
1 import turtle 2 turtle.setup(600,550,200,200) 3 turtle.pensize(1) 4 turtle.fillcolor("red") 5 turtle.begin_fill() 6 for i in range(5): 7 turtle.fd(200) 8 turtle.left(216) 9 turtle.end_fill()