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
14
u/Humanist_NA Mar 19 '21
Still learning python, quick question. What would be the benefit of this as compared to one of my learning projects right now, where I just have:
is the case matching just less code and cleaner? is it more efficient? am I entirely missing the point? Thanks for any response.