Commit 59c0f427 by BellCodeEditor

save project

parent faf8dd05
Showing with 20 additions and 0 deletions
import turtle
pen = turtle.Pen()
screen = turtle.Screen()
screen.bgcolor("black")
clours=["red","blue","yellow","green"]
SB=1
pen.speed(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999)
for i in range(99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999):
pen.forward(SB)
pen.right(120)
pen.pencolor(clours[SB%4])
SB+=1
pen.hideturtle()
turtle.done()
\ No newline at end of file
i = 5
j = 3
for i in range(1,10):
print(i,"*",j,"=",(i*j),end=" ")
\ 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