a = ['RED', 'BLUE', 'GREEN]
output = R B G
E L R
D U E
E E
N
How to achieve this output ? (I believe we have to use 2D array methods)
I tried 2 nested for loops for a[i][j], but did'nt get the desired result.