import turtlefrom turtle import *wn = Screen()wn.setup(width=1200, height=680)t = Turtle()wn.bgcolor('black')t.speed (0)r,g,b=255,0,0for i in range(255*2):colormode (255)if i<255//3:g+=3elif i<255*2//3:r-=3elif i<255:b+=3elif i<255*4//3:g-=3elif i<255*5//3:r+=3else:b-=3rt (91)fd(i+1)pencolor (r,g,b)wn.mainloop()
Loop Design using Python Turtle
Make a Loop Design graphics program using python turtle
0 Comments
Post a Comment