gadgeteer.co.za
Python v3.10 will support switch statements
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 statements are awfully similar to switch statements, but have a few really cool and unique features, which are explained in the linked article.The big...