Make a logo design using python turtle module
import turtlefrom turtle import *wn = Screen()wn.setup(width=1200, height=680)t = Turtle()wn.bgcolor('black')t.speed (0)colors = ['white', 'red']for i in range (180):t.pencolor (colors [i%len(colors)])t.rt(i)t.circle (100, i)t.fd(i)t.rt (180)t.fd(i)wn.mainloop()
0 Comments
Post a Comment