摘要: import turtleturtle.penup()turtle.fd(-100)turtle.pendown()turtle.pensize(5)turtle.pencolor("red")turtle.left(60)turtle.forward(100)turtle.right(120)tu 阅读全文
posted @ 2020-03-11 15:07 哦噢 阅读(198) 评论(0) 推荐(0) 编辑
摘要: import turtleturtle.penup()turtle.fd(-100)turtle.pendown()turtle.pensize(10)turtle.pencolor("green")turtle.left(30)turtle.forward(100)turtle.right(60) 阅读全文
posted @ 2020-03-11 14:43 哦噢 阅读(3546) 评论(0) 推荐(0) 编辑
摘要: import mathimport turtle RADIUS = 100 angleSin18 = math.sin(math.pi * 0.1) * RADIUSangleCos18 = math.cos(math.pi * 0.1) * RADIUSangleSin54 = math.sin( 阅读全文
posted @ 2020-03-11 14:14 哦噢 阅读(1661) 评论(0) 推荐(0) 编辑