Skip to content

Instantly share code, notes, and snippets.

@ftobia
Created August 31, 2018 18:22
Show Gist options
  • Save ftobia/e172bb5aa12462f4cc9e33d94d79a193 to your computer and use it in GitHub Desktop.
Save ftobia/e172bb5aa12462f4cc9e33d94d79a193 to your computer and use it in GitHub Desktop.
# -*- 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