Python
a=int(input()) import turtle as t t.speed(0) color=['green','yellow','blue','red'] for i in range(300): t.forward(i) t.color(color[i%4]) t.left(a)