Which programming language is this?
match status:
case 200 | 201:
ok()
Answer: Python
Structural pattern matching with match/case arrived in Python 3.10.
Play Programming Languages ▸
match status:
case 200 | 201:
ok()
Answer: Python