Commit 3e3638a8 by BellCodeEditor

save project

parent 2b05a5d2
Showing with 7 additions and 2 deletions
for a in range(1,10):
for b in range(1,a+1):
print("%d*%d=%d"%(b,a,a*b),end="\t")
print("")
\ No newline at end of file
import turtle import turtle
turtle.pensize(2) turtle.pensize(2)
turtle.speed(0) turtle.speed(0)
color=["red","blue","green","purple","yellow"] color=["red","blue","green","purple"]
a=1 a=1
for i in range(300): for i in range(1000):
turtle.color(color[i%4]) turtle.color(color[i%4])
turtle.forward(a) turtle.forward(a)
turtle.left(91) turtle.left(91)
......
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