Question: Output in a list

Hi,

I have this out put, let me put it simply as a  single variable(call it A) having multiple outputs such that when i print(A) I get         a
                           b
                           c
                           d
How do i put all the values in a single list to get [a,b,c,d]?

This is what I did: aa:=[]: for i in A do aa:=[op(aa),i]:od:
The output is [a]
                    [b]
                    [c]
                    [d]

How do I get [a,b,c,d] without doing a lot of op???

Thanks,
Vic

Please Wait...