Answers for "combining list alternatively"

0

combining list alternatively

list3 = [sub[i] for i in range(len(list2)) for sub in [list1, list2]] + [list1[-1]]
Posted by: Guest on October-12-2021

Browse Popular Code Answers by Language