Nuacht

Rejoice! Gone are the long chains of if…else statements, because switch statements will soon be here — sort of. What the Python gods are actually giving us are match statements. match s… ...
With the help of Scrat the Squirrel from Ice Age, she goes on to demonstrate how If/Else blocks can be used to program characters' movements.
A proposal under consideration by Python’s development team would finally bring pattern matching statements to the language.