Dec-21-2016, 09:01 AM
(This post was last modified: Dec-21-2016, 09:22 AM by MeeranRizvi.)
Hello Guys!
i just did the following code works as expected.
Thanks for the info #Wavic
how to make this output to look like this:
i just did the following code works as expected.
a=[1,2,3,4] b=[5,6,7,8] c=[] for i in range(len(a)): c.append(a[i]) c.append(b[i]) print c
Output:[1, 5, 2, 6, 3, 7, 4, 8]
Thanks for the info #Wavic
how to make this output to look like this:
Output:[1, 5, 2, 6, 3, 7, 4, 8]
Output:[(1, 5), (2, 6),(3, 7),(4, 8)]