Python - 画太阳花

示例代码

import turtle as t
import time
t.color("red", "yellow")
t.speed(10)
t.begin_fill()
for _ in range(50):
    t.forward(200)
    t.left(170)
t.end_fill()
time.sleep(1)

参考:[10分钟轻松学会 Python turtle 绘图](https://www.cnblogs.com/nowgood/p/turtle.html)

相关文章:

  • 2021-06-04
  • 2022-12-23
  • 2021-11-18
  • 2021-05-08
  • 2021-09-22
  • 2021-08-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
相关资源
相似解决方案