This goes in opposition to python's mantra of "express is much better than implicit". Or use Exclusive syntax to check with occasion variables as in Ruby. Having said that Python tries to maintain syntax figures into a minimum (currently it is adding more syntax, like assignment expressions and kind hinting). https://self-adhesive-mini-trunki12333.blogsumer.com/36549476/the-smart-trick-of-self-adhesive-mini-trunking-that-no-one-is-discussing