human
Complete this python program:
def concat_all(*args):
assistant
#Here is the Python code you requested.

    """concat_all(*args) -> list
    Concats all the arguments together.
    Example:
    >>> concat_all(0, [1, (2, 3)], [([[4, 5, 6]])])
    [0, 1, 2, 3, 4, 5, 6]
    """
    def go(arg, output):
        if isinstance(arg, (tuple, list)):
            for e in arg:
                go(e, output)
        else:
            output.append(arg)
        return output
    return go(args, [])