Commit 8668c140 by BellCodeEditor

save project

parent f2012ef2
Showing with 5 additions and 21 deletions
import turtle
pen=turtle.Pen()
color_list=["red","orange","yellow","green"]
pen.pensize(1)
pen.speed(100)
for i in range(4):
pen.fillcolor(color_list[i])
pen.begin_fill()
pen.forward(100)
pen.left(90)
pen.forward(20)
pen.left(90)
pen.forward(100)
pen.left(90)
pen.forward(20)
pen.left(180)
pen.end_fill()
pen.hideturtle()
turtle.done()
\ No newline at end of file
for j in range(1,10):
for i in range(1,10):
print(j, '*',i,'=',(j*i),end=" ")
print()
\ 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