摘要: 哪些 Python 库让你相见恨晚? https://www.zhihu.com/question/24590883/answer/92420471 阅读全文
posted @ 2017-09-01 12:45 zlfeng825 阅读(121) 评论(0) 推荐(0)
摘要: 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)