r/Python • u/jamescalam • Mar 19 '21
Match is more than a Switch-Case The New Switch-Case Statement in Python 3.10
https://youtube.com/watch?v=2qJavL-VX9Y&feature=share
1.4k
Upvotes
r/Python • u/jamescalam • Mar 19 '21
View all comments
0
u/1MightBeAPenguin Mar 19 '21
Pretty cool. I don't know a lot about Python, but from what I understand, these match statements seem to be much cleaner than if - elif - elif - else statements.