Home Article Practice turtle代码练习

turtle代码练习

2021-11-11 22:27  views:456  source:小键人3043260    

import turtle
turtle.pensize(10)
turtle.pencolor("pink")
turtle.penup()
turtle.goto(-50,180)
turtle.pendown()
turtle.goto(50,180)
turtle.penup()
turtle.goto(-75,90)
turtle.pendown()
turtle.goto(75,90)
turtle.penup()
turtle.goto(-100,0)
turtle.pendown()
turtle.goto(100,0)
turtle.penup()
turtle.goto(-125,-90)
turtle.pendown()
turtle.goto(125,-90)
turtle.penup()
turtle.goto(-125,-180)
turtle.pendown()
turtle.goto(125,-180)
turtle.penup()
turtle.goto(-50,180)
turtle.pendown()
turtle.goto(-50,90)
turtle.penup()
turtle.goto(0,180)
turtle.pendown()
turtle.goto(0,90)
turtle.penup()
turtle.goto(50,180)
turtle.pendown()
turtle.goto(50,90)
turtle.penup()
turtle.goto(-75,90)
turtle.pendown()
turtle.goto(-75,0)
turtle.penup()
turtle.goto(-25,90)
turtle.pendown()
turtle.goto(-25,0)
turtle.penup()
turtle.goto(25,90)
turtle.pendown()
turtle.goto(25,0)
turtle.penup()
turtle.goto(75,90)
turtle.pendown()
turtle.goto(75,0)
turtle.penup()
turtle.goto(-100,0)
turtle.pendown()
turtle.goto(-100,-90)
turtle.penup()
turtle.goto(-50,0)
turtle.pendown()
turtle.goto(-50,-90)
turtle.penup()
turtle.goto(0,0)
turtle.pendown()
turtle.goto(0,-90)
turtle.penup()
turtle.goto(50,0)
turtle.pendown()
turtle.goto(50,-90)
turtle.penup()
turtle.goto(100,0)
turtle.pendown()
turtle.goto(100,-90)
turtle.penup()
turtle.goto(-125,-90)
turtle.pendown()
turtle.goto(-125,-180)
turtle.penup()
turtle.goto(-75,-90)
turtle.pendown()
turtle.goto(-75,-180)
turtle.penup()
turtle.goto(-25,-90)
turtle.pendown()
turtle.goto(-25,-180)
turtle.penup()
turtle.goto(25,-90)
turtle.pendown()
turtle.goto(25,-180)
turtle.penup()
turtle.goto(75,-90)
turtle.pendown()
turtle.goto(75,-180)
turtle.penup()
turtle.goto(125,-90)
turtle.pendown()
turtle.goto(125,-180)
turtle.penup()
turtle.goto(-50,150)
turtle.pendown()
turtle.goto(-25,150)
turtle.penup()
turtle.goto(-25,120)
turtle.pendown()
turtle.goto(0,120)
turtle.penup()
turtle.goto(25,150)
turtle.pendown()
turtle.goto(25,120)
turtle.penup()
turtle.goto(-75,30)
turtle.pendown()
turtle.goto(-50,30)
turtle.penup()
turtle.goto(-50,60)
turtle.pendown()
turtle.goto(0,60)
turtle.penup()
turtle.goto(0,30)
turtle.pendown()
turtle.goto(25,30)
turtle.penup()
turtle.goto(50,60)
turtle.pendown()
turtle.goto(50,30)
turtle.penup()
turtle.goto(-75,-20)
turtle.pendown()
turtle.goto(-75,-30)
turtle.penup()
turtle.goto(-100,-50)
turtle.pendown()
turtle.goto(-75,-50)
turtle.goto(-75,-70)
turtle.penup()
turtle.goto(-25,0)
turtle.pendown()
turtle.goto(-25,-55)
turtle.penup()
turtle.goto(-50,-80)
turtle.pendown()
turtle.goto(-25,-80)
turtle.penup()
turtle.goto(-4,0)
turtle.pendown()
turtle.goto(-4,-55)
turtle.penup()
turtle.goto(-4,-80)
turtle.pendown()
turtle.goto(-4,-90)
turtle.penup()
turtle.goto(0,-30)
turtle.pendown()
turtle.goto(25,-30)
turtle.penup()
turtle.goto(25,-60)
turtle.pendown()
turtle.goto(50,-60)
turtle.penup()
turtle.goto(75,-30)
turtle.pendown()
turtle.goto(75,-60)
turtle.penup()
turtle.goto(-125,-150)
turtle.pendown()
turtle.goto(-100,-150)
turtle.penup()
turtle.goto(-100,-120)
turtle.pendown()
turtle.goto(-75,-120)
turtle.penup()
turtle.goto(-50,-110)
turtle.pendown()
turtle.goto(-50,-120)
turtle.penup()
turtle.goto(-75,-145)
turtle.pendown()
turtle.goto(-50,-145)
turtle.goto(-50,-165)
turtle.penup()
turtle.goto(0,-90)
turtle.pendown()
turtle.goto(0,-145)
turtle.penup()
turtle.goto(-25,-170)
turtle.pendown()
turtle.goto(0,-170)
turtle.penup()
turtle.goto(21,-90)
turtle.pendown()
turtle.goto(21,-145)
turtle.penup()
turtle.goto(21,-170)
turtle.pendown()
turtle.goto(21,-180)
turtle.penup()
turtle.goto(25,-120)
turtle.pendown()
turtle.goto(50,-120)
turtle.penup()
turtle.goto(50,-150)
turtle.pendown()
turtle.goto(75,-150)
turtle.penup()
turtle.goto(100,-120)
turtle.goto(100,-150)
turtle.penup()
turtle.goto(200,-250)
turtle.done()



Disclaimer: The above articles are added by users themselves and are only for typing and communication purposes. They do not represent the views of this website, and this website does not assume any legal responsibility. This statement is hereby made! If there is any infringement of your rights, please contact us promptly to delete it.

字符:    改为:
去打字就可以设置个性皮肤啦!(O ^ ~ ^ O)