import turtle
wn=turtle.Screen().bgcolor('black')
k1=turtle.Turtle()
k1.goto(0,200)
a=0
b=0
k1.speed(10)
k1.pencolor('red')
while True:
k1.forward(a)
k1.right(b)
a=a+3
b=b+1
if b==210:
break
k1.hideturtle()
import turtle
wn=turtle.Screen().bgcolor('black')
k1=turtle.Turtle()
k1.goto(0,200)
a=0
b=0
k1.speed(10)
k1.pencolor('red')
while True:
k1.forward(a)
k1.right(b)
a=a+3
b=b+1
if b==210:
break
k1.hideturtle()
0 comments:
Post a Comment