News

Again, to store multiple values in a key ... to the problem you’re actually trying to solve. Finally, Python has another data structure, the set, which superficially resembles a dictionary.
The traditional ways to do this in Python aren’t elegant. One is to write an if/elif/else chain of expressions. The other is to store values to match as keys in a dictionary, then use the values ...