|
|
import random
import turtle
turtle.setup(800,600)
tutu = turtle.Turtle()
tutu.speed(0)
turtle.colormode(255)
def draw_circle(r):
R = random.randint(0,255)
G = random.randint(0, 255)
B = random.randint(0, 255)
tutu.fillcolor(R,G,B)
tutu.begin_fill()
tutu.circle(r)
tutu.end_fill()
r = 120
for i in range(36):
draw_circle(r)
r = r -3
tutu.left(25)
turtle.done()
|
|