首页 > 其他 > 详细

叠加等边三角形绘制

时间:2020-03-15 12:17:20      阅读:59      评论:0      收藏:0      [点我收藏+]
import  turtle as t
t.setup(650,500,250,250)
t.penup()
t.fd(150)
t.pendown()
t.pensize(15)
t.color("purple")
t.fd(100)
t.seth(-120)
t.fd(100)
t.seth(120)
t.fd(100)
t.seth(-120)
t.fd(100)
t.seth(0)
t.fd(200)
t.seth(120)
t.fd(200)
t.seth(-120)
t.fd(100)
t.done()

技术分享图片

 

叠加等边三角形绘制

原文:https://www.cnblogs.com/Cute-pig/p/12496496.html

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