Created
March 26, 2014 07:44
-
-
Save blinsay/9778439 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
knuckles = u""" | |
|⌒|⌒|⌒|⌒|╲ /|⌒|⌒|⌒|⌒| | |
|%s|%s|%s|%s|ノ \|%s|%s|%s|%s) | |
\⠀⠀⠀⠀⠀⠀⠀/⠀⠀ \⠀⠀⠀⠀⠀⠀⠀/ | |
⠀\⠀⠀⠀⠀╱⠀⠀⠀⠀ ╲⠀⠀⠀⠀/ | |
⠀ |⠀⠀⠀|⠀⠀⠀⠀⠀⠀⠀ |⠀⠀| | |
""" | |
print "GET A TAT" | |
while True: | |
# split/join is the easiest way to remove all whitespace | |
try: | |
tat_string = "".join(raw_input("> ").split()) | |
except (EOFError, KeyboardInterrupt) as e: | |
break | |
if len(tat_string) != 8: | |
print "EIGHT LETTERS. LEARN TO COUNT, TRY AGAIN.\n\n" | |
continue | |
print knuckles % tuple(tat_string.upper()) | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment