Commit 1aa72dca by BellCodeEditor

save project

parent b589769f
Showing with 6 additions and 5 deletions
j=5
for i in range(1,10):
print(j,'x',i,'=',(i*j),end=" ")
\ No newline at end of file
for j in range(1,i+1):
print(j, '*',i,'=', (j*i),end=' ')
print()
......@@ -5,11 +5,10 @@
import turtle
pen = turtle.Pen()
# 请创造师在下面接着创作
screen = turtle.Screen()
screen.bgcolor("black")
colors = ["red","yellow","green","orange"]
for i in range(0,300):
pen.forward(i)
pen.pencolor(colors[i%4])
pen.right(91)
# 隐藏画笔,保存画布
turtle.done()
\ 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