def reset_moved_bools(inp):
    "Reset the third value in our character tuples, which tracks whether they've moved in a round"
    for (rowI, row) in enumerate(inp):
        for (colI, col) in enumerate(row):
            if (col[0] in ['G', 'E']):
                char_tup = (col[0], col[1], False)
                inp[rowI][colI] = char_tup
    return inp
Reset the third value in our character tuples, which tracks whether they've moved in a round
def reset_moved_bools(inp):
    
    for (rowI, row) in enumerate(inp):
        for (colI, col) in enumerate(row):
            if (col[0] in ['G', 'E']):
                char_tup = (col[0], col[1], False)
                inp[rowI][colI] = char_tup
    return inp