# -*- coding: utf-8 -*- import random as rd import turtle as tt win = tt.Screen() ###### tt.setup(0.85, 0.85) tt.shape("turtle") tt.speed(0) color = ['blue','red','green','black'] for i in range(1,50): tt.pencolor(color[i%4]) tt.fd(i*5) tt.lt(90) ###### win.exitonclick()