News

The traditional ways to do this in Python aren’t elegant. One is to write an if/elif/else chain of expressions ... the key or some other variable as input. In many cases this works well ...