from turtle import *
color("black","red") 

begin_fill()
pu()
fd(-200)
pd()
seth(30)
fd(300)
seth(-90)
fd(300)
seth(150)
fd(300)
end_fill()
 
pu()
seth(90)
fd(150)
seth(0)
fd(87)
begin_fill()

pd()
seth(-90)
fd(300)
seth(30)
fd(300)
seth(150)
fd(300)
end_fill()
done()

  使用turtle库绘制一个六角形

相关文章:

  • 2022-12-23
  • 2021-12-17
  • 2022-02-22
  • 2021-12-28
  • 2021-08-28
  • 2021-07-23
  • 2021-09-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-02
  • 2022-12-23
相关资源
相似解决方案