Commit 940e2e79 by BellCodeEditor

auto save

parent 3ce31792
Showing with 33 additions and 0 deletions
a=["red","yellow","green","blue"]
c=0
z=1
x=100
import turtle
p=turtle.Pen()
p.speed(9)
p.pensize(z)
s=turtle.Screen()
s.bgcolor("light pink")
p.pencolor(a[c])
for i in range(10000):
for b in range(50):
p.forward(i)
p.right(x)
p.pencolor(a[c])
p.pensize(z)
z+=0.001
c=c+1
x=x-0.0001
if c>3:
c=0
p.hideturtle()
turtle.done()
\ No newline at end of file
a=input()
b=1
import turtle
p=turtle.Pen()
for i in range(100*a):
p.forward(b+1)
p.left(91)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment