Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- match subject:
- case <pattern_1>:
- <action_1>
- case <pattern_2>:
- <action_2>
- case <pattern_3>:
- <action_3>
- case _:
- <action_wildcard>
- if subject == <pattern_1>:
- <action>
- elif subject == <pattern_2>:
- <action>
- elif subject == <pattern_2>:
- <action>
- else:
- <action_wildcard>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement