I have a program that takes some string as a input. However, that same string can be written in many equivalent ways. Tinkering with Python dictionaries, I found out that making some dictionary like
things = {
"a1" : "a",
"a2" : "a",
}
works out for what I want to do (which is iterating through an excel column and getting the adjacent value for "a" by inputting either "a1" or "a2"), but I was wondering is there's a better way to do this, since this will be super expensive whenever I'll decide to add more entries to the dictionary.