python loop through colours : ## PYTHON HELP ##
I've got a series of patches drawn in a grid entered by the user but want them to loop through a series of colours which are also typed by the user. 
i.e. the user enters 'blue, green, yellow' and the patches should follow that loop both horizontally and vertically

    


    def drawPatch(win, x, y, colours): #values carried from drawPatchwork 
    and placed into this function
    for i in range(100, 0, -10):
        rectangle = Rectangle(Point(x + i, y + (100 - i)), Point(x, (y + 
    100)))
        if (i % 20) == 0:
            rectangle.setFill("white")
        else:
            rectangle.setFill(colours)
        rectangle.setOutline("")
        rectangle.draw(win)
    # win.getMouse()
    # win.close()
    # drawPatch(win=GraphWin("drawPatch", 100, 100), colour="red", x=0, y=0)


    def drawPatchwork():

    width = int(input("Enter width: "))
    height = int(input("Enter height: "))
    colours = input("Enter your four colours: ").split(',')
    win = GraphWin("Draw Patch", width * 100, height * 100)
    for y in range(0, height * 100, 100):

        for x in range(0, width * 100, 100):
                drawPatch(win, x, y, colours) #items placed into drawPatch function

    win.getMouse()
    win.close()
