human
I wrote the below code

    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, [])

What's a good function header?
assistant
#Here's a good function header.

def concat_all(*args):