I have two lists A=[a,b,c,d] B=[1,2,3,4] How can I merge A and B in a nested list of corresponding elements of A and B in Python My outcome will be [[a,1],[b,2],[c,3],[d,4]]. Please help me. TIA
Asked
Active
Viewed 394 times