摘要: import turtle while True: turtle.forward(60) turtle.right(68) if (abs(turtle.pos()))<1: break turtle.done() 阅读全文
posted @ 2018-05-14 15:29 kelphia 阅读(80) 评论(0) 推荐(0)
摘要: import turtle def main(): t=turtle.Turtle() t.hideturtle() lengthOfSize=200 drawFivePointStar(t,0,0,lengthOfSize) def drawFivePointStar(t,x,y,lengthOfSize): t.up() t.goto(x,y... 阅读全文
posted @ 2018-05-14 15:27 kelphia 阅读(94) 评论(0) 推荐(0)