Skip to content

Instantly share code, notes, and snippets.

@blinsay
Created March 26, 2014 07:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blinsay/9778439 to your computer and use it in GitHub Desktop.
Save blinsay/9778439 to your computer and use it in GitHub Desktop.
#!/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