I have lists a1, a2, ... , a16
with certain values.
For example:
a1 = [1, 17, 33, 49, 65, 81, 97]
Then I'm creating a dictionary which makes use of these lists:
dct = {'0110': a1}
And then I try to create a reference to the variables using the following:
x = 1
x2 = 'a{0}'.format(x)
However when I print(x2)
the value being returned is a1
and not [1, 17, 33, 49, 65, 81, 97]
How do I get the actual output of the original a1
?