Python3-2020-测试开发-2- Python3之turtle模块使用

2021-02-10 01:20

阅读:538

标签:ack   down   rtl   模块   red   end   idt   tle   测试   

一、语法解释

turtle.width(10)

turtle.color("blue")
turtle.circle(50)

turtle.penup()
turtle.goto(120,0)
turtle.pendown()

turtle.color("black")
turtle.circle(50)

turtle.penup()
turtle.goto(240,0)
turtle.pendown()

turtle.color("red")
turtle.circle(50)

turtle.penup()
turtle.goto(60,-50)
turtle.pendown()

turtle.color("yellow")
turtle.circle(50)

turtle.penup()
turtle.goto(180,-50)
turtle.pendown()

turtle.color("green")
turtle.circle(50)

Python3-2020-测试开发-2- Python3之turtle模块使用

标签:ack   down   rtl   模块   red   end   idt   tle   测试   

原文地址:https://www.cnblogs.com/chushujin/p/12746110.html


评论


亲,登录后才可以留言!