I am trying to work out if this is posible. I want to print the varible name from a list. Here is my code
brisbane=[1,2,3,4]
sydney=[2,5,8,34,6,2]
perth=[2,4,3]
towns=[brisbane,sydney,perth]
I am doing some maths, then with these numbers I want to take the string 'brisbane' from the towns list and use it somewhat like this.
print 'the town witht the most rain was', towns[0], '.'
and print this as 'the town with the most rain was brisbane.'