turtle库基础练习
1.
import turtle
turtle.circle(10)
turtle.circle(30)
turtle.circle(40)
2.
turtle.circle(10)
turtle.up()
turtle.goto(0,-20)
turtle.down()
turtle.circle(30)
3.
import turtle
for i in range(5)
turtle.forward(30)
turtle.right(144)
4.
import turtle
turtle.color('yellow')
turtle.begin_fill()
turtle.fillcolor('yellow')
for i in range(5):
turtle.forward(50)
turtle.right(144)
turtle.end_fill()