Skip to content

Instantly share code, notes, and snippets.

@tomekwojcik
Created March 26, 2010 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tomekwojcik/344823 to your computer and use it in GitHub Desktop.
Save tomekwojcik/344823 to your computer and use it in GitHub Desktop.
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