while循环与 for循环

print("Hello, world! My name is type your name")
import turtle

while True:
    turtle.forward(140)
    turtle.right(170)
    if abs(turtle.pos())<1:
        break

turtle.done()

 

posted @ 2018-05-14 15:19  chenguanxun  阅读(191)  评论(0)    收藏  举报