def get_color(index):
if index in range(<NUM_LIT:0>, <NUM_LIT:8>):<EOL><INDENT>state['<STR_LIT>'].goto(-WCB_WIDTH / <NUM_LIT:2>, -WCB_HEIGHT / <NUM_LIT:2>)<EOL>_make_cnc_request("<STR_LIT>" + str(index))<EOL>colors = ["<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>"]<EOL>state['<STR_LIT>'].color(colors[index])<EOL>state['<STR_LIT>'] = <NUM_LIT:0><EOL><DEDENT>else:<EOL><INDENT>print("<STR_LIT>" + index)<EOL><DEDENT>
Dips the brush in paint.

    Arguments:
        index - an integer between 0 and 7, inclusive. Tells the bot which color you want.