Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
elo = case input
when /zorb/ then "shoop de doop"
when /blomp/ then "imma chagin mah lazah"
else "FIAL"
end
---
elo = ''
if re.match(r'/zorb/', input):
elo = "shoop de doop"
elif re.match(r'/blomp/', input):
elo "imma chagin mah lazah"
else:
elo = "FIAL"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.