import turtle
turtle.setup(800,400
,0,0)
turtle.bgcolor('purple')
turtle.color("blue")
turtle.fillcolor("red")
turtle.begin_fill()
for i
in range(5
):
turtle.forward(50
)
turtle.right(144
)
turtle.end_fill()
turtle.done()
转载于:https://www.cnblogs.com/fkfkfk/p/9016373.html
相关资源:JAVA上百实例源码以及开源项目
转载请注明原文地址: https://mac.8miu.com/read-24246.html