首页 > 其他 > 详细

叠加等边三角形的绘制

时间:2020-03-15 23:27:40      阅读:101      评论:0      收藏:0      [点我收藏+]

   

import turtle
turtle.setup(500,500)
for i in range(3):
turtle.fd(100)
turtle.right(120)
turtle.left(60)
turtle.fd(100)
for i in range(2):
turtle.right(120)
turtle.fd(200)
turtle.right(120)
turtle.fd(100)

叠加等边三角形的绘制

原文:https://www.cnblogs.com/dongchidachi/p/12500956.html

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