Commit 0c9b2dd0 by BellCodeEditor

auto save

parent 8bd40da2
Showing with 22 additions and 0 deletions
for i in range(1,10):
for i in range(1,10):
for j in range(1,i+1):
print(j,"*",i,"=",i*j,end=" ")
print( )
\ No newline at end of file
import turtle
list=["red","yellow","green","blue"]
turtle.Screen().bgcolor("black")
for i in range(0,3000):
"""if i%4==0:
turtle.color(list[0])
if i%4==1:
turtle.color(list[1])
if i%4==2:
turtle.color(list[2])
if i%4==3:
turtle.color(list[3])"""
turtle.color(list[i%4])
turtle.fd(i)
turtle.left(90)
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