I go two lists of alphabets
headerListOne=['a', 'c', 'g', 'w', 'Q']
and another list
headerListTwo=['a', 'c', 'w', 'Q', 'front', 'Z']
and two lists of lists of numbers:
listToCompare=[[9, 0, 2, 7, 0]]
listToCompareTwo=[[0, 0, 0, 0, 3, 5]]
I want to get an output of:
listToCompare=[[9,a,] [0,c] [2,g] [7,w] [0,Q]]
listToCompareTwo=[[0,a], [0,c],[0,w], [0,Q], [3,front] [5,z]]
Basically I need to reference each number with an alphabet.Tuples are possible too but I prefer list methods because I'm more familiar with them.