I have the two-dimensional array
a = [[1,'a'],[1,'b'],[2,'c'],[2,'d'],[3,'e'],[3,'f'],[4,'g'],[4,'h']]
I want to separate the letters in another array b so that it looks like this:
[["a","b"], ["c", "d"], ["e", "f"], ["g", "h"]]
Wher...
asked by
21.05.2014 / 03:54