Created
August 31, 2018 18:22
-
-
Save ftobia/e172bb5aa12462f4cc9e33d94d79a193 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | |
from string import ascii_lowercase | |
import sys | |
flipped = 'ɐqɔpǝɟƃɥıɾʞʃɯuodbɹsʇnʌʍxʎz' | |
lookup = dict(zip(ascii_lowercase, flipped)) | |
lookup[' '] = ' ' | |
if __name__ == '__main__': | |
word = ' '.join(sys.argv[1:]) | |
angry_guy = '(╯°□°)╯︵ ' | |
print angry_guy, ''.join(lookup[l] for l in reversed(word)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment