摘要: import turtleimport timeimport mathdef circle(bob,r,angle): n = 720 jiaoDu = 360/n juLi=2*r*math.sin(jiaoDu/180*math.pi/2) bob.pu() bob.fd(r) bob.lt(9 阅读全文
posted @ 2017-08-27 13:24 zlfeng825 阅读(3288) 评论(0) 推荐(0)
摘要: import turtleimport timeimport mathdef polygon(bob,n,r): jiaoDu = 360/n juLi=2*r*math.sin(jiaoDu/180*math.pi/2) bob.pu() bob.fd(r) bob.lt(90+jiaoDu/2) 阅读全文
posted @ 2017-08-27 13:21 zlfeng825 阅读(7371) 评论(0) 推荐(0)