So I'm trying to append
list value to another one by turns.
This is my code:
lis1 = [1, 2, 3, 4, 5]
lis2 = [6, 7, 8, 9, 10]
for i, value in enumerate(lis2):
lis1.append(i)
print(lis1)
My expected output is [1, 6, 2, 7, 3, 8, 4, 9, 5, 10]
But what I got is [1, 2, 3, 4, 5, 0, 1, 2, 3, 4]
Any help would be appreciated