Well, I assumed that was the case if you want the things kept in order. If not a normal dictionary works fine. You can of course sort the keys and then use that sorted list to get the values in sorted order…
Not necessarily. You could also use a nested list.
dict_list=[("1","A"),("2","B"),("3","C"),("4","D"),("5","E")]
print [item[0] for item in dict_list]
>>>['1', '2', '3', '4', '5']
print [item[1] for item in dict_list]
>>>['A', 'B', 'C', 'D', 'E']
You can also use zip() and the * operator to zip and unzip nested lists:
n_list=['1', '2', '3', '4', '5']
a_list=['A', 'B', 'C', 'D', 'E']
zip_list=zip(n_list,a_list)
print zip_list
>>>[('1', 'A'), ('2', 'B'), ('3', 'C'), ('4', 'D'), ('5', 'E')]
nn_list,aa_list=zip(*zip_list)
print nn_list
print aa_list
>>>('1', '2', '3', '4', '5')
>>>('A', 'B', 'C', 'D', 'E')
#creates tuples though, so you need to convert to list if necessary