首页 > 其他 > 详细

画叠加的等边三角形

时间:2020-03-25 13:54:26      阅读:71      评论:0      收藏:0      [点我收藏+]
import turtle as t
t.pencolor("red")
t.fd(200)
t.seth(120)
t.fd(200)
t.seth(-120)
t.fd(200)
t.seth(0)
t.fd(100)
t.seth(60)
t.fd(100)
t.seth(180)
t.fd(100)
t.seth(-60)
t.fd(100)
t.seth(120)
t.fd(100)
t.seth(0)
t.done()

 

画叠加的等边三角形

原文:https://www.cnblogs.com/670ling/p/12565813.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!