I have a list like:
[[a,b],[c,d]]
and i want to have:
[[a,c],[b,d]]
using only functional programming.
Zip is your friend!
print(list(zip(*[[1,2],[3,4]])))