Commit 6e833552 by BellCodeEditor

save project

parent e3d67bca
Showing with 6 additions and 2 deletions
...@@ -3,10 +3,10 @@ len=1 ...@@ -3,10 +3,10 @@ len=1
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("black") screen.bgcolor("black")
c=["red","orange","yellow","green"] c=["red","orange","yellow","green","gray","cyan","violet","white"]
pen.speed(10) pen.speed(10)
for i in range(300): for i in range(300):
pen.pencolor(c[i%4]) pen.pencolor(c[i%8])
pen.forward(len) pen.forward(len)
pen.right(91) pen.right(91)
len=len+1 len=len+1
......
i=3
j=5
print(i,'*',j,'=',(i*j))
\ 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