import turtle turtle.fillcolor("red") turtle.begin_fill() while True: turtle.forward(220) turtle.right(144) if abs(turtle.pos()) < 1: break turtle.fd(84) for i in range(5): turtle.fd(52) turtle.right(72) turtle.end_fill() turtle.done()
posted on 2020-09-14 20:12 追追比 阅读(38) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3