Skip to content

Instantly share code, notes, and snippets.

@eugene-eeo
Last active September 17, 2016 04:42
Show Gist options
  • Save eugene-eeo/7c7347abb05ec1a8e69b to your computer and use it in GitHub Desktop.
Save eugene-eeo/7c7347abb05ec1a8e69b to your computer and use it in GitHub Desktop.
What your name says about you
character_map = {
"a": "Atrocious",
"b": "Boring",
"c": "Corrupted",
"d": "Despicable",
"e": "Evil",
"f": "Fraud",
"g": "Gross",
"h": "Homicidal",
"i": "Idiotic",
"j": "Jerk",
"k": "Kooky",
"l": "Lousy",
"m": "Malefic",
"n": "Nauseating",
"o": "Obsessive",
"p": "Psychotic",
"q": "Qwirky",
"r": "Reptilian",
"s": "Sickening",
"t": "Terroristic",
"u": "Ugly",
"v": "Villainous",
"w": "Wretched",
"x": "Xeroxphobic (fear of using anything made by Xerox)",
"y": "Yucky",
"z": "Zonked"
}
for character in input("What's your name?"):
desc = character_map.get(character.lower(), "")
print(character + " " + desc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment