Say I have two list
firstlist = ['A','B','C','D','E']
secondlist = ['1','2','3','4','5','6','7','8','9','10']
I want to combine one item in firstlist
with another item in secondlist
So I can I have:
[('A', '1'), ('B', '2'), ('C', '3'), ('D', '4'), ('E', '5'), ('A', '6'), ('B', '7'), ('C', '8'), ('D', '9'), ('E', '10')]
I know I could use the zip
function but since one list is longer, it would stop at the shorter list