用python画一个五角星:

from turtle import *
color('red','red')
begin_fill()
for i in range(5):
    fd(200)
    rt(144)
    
end_fill()

运行结果:
我的第一个Python作图

相关文章:

  • 2021-10-17
  • 2021-05-29
  • 2022-12-23
  • 2022-12-23
  • 2021-07-13
  • 2022-12-23
  • 2021-05-26
  • 2021-10-01
猜你喜欢
  • 2021-11-23
  • 2021-07-16
  • 2021-08-03
  • 2022-12-23
  • 2022-12-23
  • 2021-05-31
  • 2021-06-13
相关资源
相似解决方案