#turtle_rand_col_loc 
import random
import sys
import os
import time
import turtle


#for i in range(1000):
#    idx = int(i/10)

t = turtle.Pen()

colors = ["red","orange","yellow","green","blue","indigo","violet"]

t.pensize(10)

def random_pencolor():
    num = random.randrange(0,6)
    col = colors[num]
    return (col)

def rand_x():
    x = random.randrange(10,300)
    if (x%2 == 0): x = -x
    return(x)

def rand_y():
    y = random.randrange(10,200)
    if (y%2 == 0): y = -y
    return(y)

for count_1 in range(5):
    t.penup()
    t.goto(rand_x(), rand_y())
    t.pendown()
        
    for count  in range(7):
        col = random_pencolor()
        t.pencolor(col)
        t.fd(100)
        t.rt(45)


    
