# Créé par CRIF, le 16/04/2019 en Python 3.2 from turtle import * from random import * speed(0) hideturtle() #shape('triangle') colormode(255) up() goto(0,300) down() pensize(5) #color('red','yellow') pencolor('red') #color((randint(0,255),randint(0,255),randint(0,255)),(randint(0,255),randint(0,255),randint(0,255))) setheading(180) #begin_fill() circle(300) #end_fill() up() home() down() for r in range(6): for i in range(36): #color('blue','green') #color('blue','red') color((randint(0,255),randint(0,255),randint(0,255)),(randint(0,255),randint(0,255),randint(0,255))) #pencolor((randint(0,255),randint(0,255),randint(0,255))) begin_fill() circle(300-50*r,60) lt(120) circle(300-50*r,60) end_fill() lt(10) hideturtle() done()