let's say I have a list of lists that looks like
abc={{1,{{1},{2}}},{2,{{3},{4},{5}}},{3,{{2}}}}//TableForm,
where the first entry in every row, the one without brackets, is the x-value and the second entries are the corresponding y-values.
While my x-value is always one entry, the amount of y-values do vary in a non consistant manner.
I want Mathematica to take every signle x-value and "duplicate" it corresponding to the amount of y-values attached, so I will get a list of coordinates with one x- and one y-value each, like:
abcnew={{1,1},{1,2},{2,3},{2,4},{2,5},{3,2}}//TableForm
Is there a fast and easy way to do this in Mathematica 4.0 with list-manipulation or do I have to combine Count with Padding?
Thank you for your help!