#match-case

[ follow ]
Python
fromPythonmorsels
4 days ago

Need switch-case in Python? It's not match-case!

Python's match statement provides structural pattern-matching distinct from switch-case and can match iterables, dictionaries, objects, and nested patterns.
[ Load more ]