Python
import turtle as t from random import randint colors=["red""blue""green""pink"] for x in range(0,50,1): n=randint(0,3) t.color(colors[n]) t.circle(x) t.left(100)