Commit fd53f539 by BellCodeEditor

auto save

parent 5fefe94a
Showing with 14 additions and 6 deletions
......@@ -4,12 +4,20 @@
# """
import turtle
pen=turtle.Pen()
distance=1
for i in range(400):
for i in range(4):
pen.forward(distance)
pen.right(93)
distance+=2
screen=turtle.Screen()
screen.bgcolor("black")
colorList=["red","blue","yellow","green"]
# for i in range(1,300):
# pen.pencolor(colorList[i%4])
# pen.forward(i)
# pen.right(95)
i=5
j=7
print(i,"*",j,"=",i*j)
print(str(i)+"*"+str(j)+"="+str(i*j))
turtle.done()
......
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