Commit 0c7df520 by BellCodeEditor

save project

parent 16c25c57
Showing with 7 additions and 9 deletions
j=1 for i in range(1,10):
i= for j in range(1,i+1):
print(j,"*",i,"=",(j*i)) print(j,"*",i,"=",(j*i),end=" ")
\ No newline at end of file print()
\ No newline at end of file
...@@ -9,10 +9,8 @@ screen=turtle.Screen() ...@@ -9,10 +9,8 @@ screen=turtle.Screen()
screen.bgcolor("black") screen.bgcolor("black")
pen.speed(0) pen.speed(0)
color=["red","blue","yellow"] color=["red","blue","yellow"]
while True: for i in range(1.5,300):
pen.pencolor(random.choice(color)) pen.pencolor(random.choice(color))
pen.forward(239) pen.forward(i)
pen.left(91) pen.left(91)
pen.forward(-238)
pen.forward(239)
turtle.done() 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