If I have a bunch of objects in a list with different tags, is it possible for the list to reference the objects by their tags instead of their name?
Would be useful if you have a list of atoms with the same name but they're differentiated with their tag or some other var.
ID:1887910
Jul 3 2015, 12:40 am (Edited on Jul 3 2015, 12:58 am)
(See the best response by Kaiochao.)
|
|
Maybe you're talking about when you have an "input() in objects" where "objects" is a list of objects that may have the same name? In that case, you can use an associative list like so: