a = [1,2,3]
b = [4,5,6]
#i have 2 lists
for x in a:
for y in b:
print x,' vs ',y
Then i got
1 vs 4 , 1 vs 5, 1 vs 6 ,2 vs 4 ... and so on
I need only 3 results :- 1 vs 4 2 vs 5 3 vs 6
Mean 1st item on a with 1st item on b and 2nd with 2nd and 3rd with 3rd Please help me