I have the following list of lists:
sims1 = [[(2, 0.90452874), (1, 0.83522302), (4, 0.77591574), (0, 0.72705799), (3, 0.52282226)],
[(3, 0.79298556), (1, 0.78112978), (2, 0.76006395), (0, 0.58570701), (4, 0.40093967)],
[(2, 0.9549554), (1, 0.71705657), (0, 0.58731651), (3, 0.43987277), (4, 0.38266104)],
[(2, 0.96805269), (4, 0.68034023), (1, 0.66391909), (0, 0.64251828), (3, 0.50730866)],
[(2, 0.84748113), (4, 0.8338449), (1, 0.61795002), (0, 0.60271078), (3, 0.20899911)]]
I would like to name each list in the list according to these strings: url = ['a', 'b', 'c', 'd']
. So for example,
>>> a
[(2, 0.90452874), (1, 0.83522302), (4, 0.77591574), (0, 0.72705799), (3, 0.52282226)]
>>> b
[(3, 0.79298556), (1, 0.78112978), (2, 0.76006395), (0, 0.58570701), (4, 0.40093967)]
etc. So how do I accomplish this in Python?