Commit 58f55031 by BellCodeEditor

auto save

parent c20f0945
Showing with 38 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.01
c=c+1
x=x-0.001
if c>3:
c=0
p.hideturtle()
turtle.done()
\ No newline at end of file
for a in range(1,10):
for b in range(1,a+1):
print(a,"*",b,"=",(a*b),end=" ")
print( )
\ 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