Commit 2cb923c4 by BellCodeEditor

auto save

parent a6293e09
Showing with 9 additions and 7 deletions
i = 1 # 行
j = 1 # 列
for i in range(1,10):
for j in range(1,i+1):
print(i,"x",j,"=",(i*j),end=" ")
print()
\ No newline at end of file
import turtle
c=["red","orange","yellow","green"]
pen=turtle.Pen()
for i in range(300):
pen.pencolor(c[i%4
])
pen.forward(i)
pen.right(61)
\ 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