[Tutor] generate a list/dict with a dynamic name..

bruce badouglas at gmail.com
Sun Sep 27 18:38:05 CEST 2015


Hi.

I can do a basic
 a=[]
to generate a simple list..

i can do a a="aa"+bb"

how can i do a
 a=[]

where a would have the value of "aabb"

in other words, generate a list/dict with a dynamically generated name

IRC replies have been "don't do it".. or it's bad.. but no one has
said you can do it this way..

just curious..

thanks


More information about the Tutor mailing list