Skip to content

Instantly share code, notes, and snippets.

@beakr beakr/tapirsay.py
Created Dec 31, 2014

Embed
What would you like to do?
#!/usr/bin/env python
from __future__ import print_function
import sys
def make_speech_bubble(message):
def times_msg_size(string): return (string * len(message))
print(' _' + times_msg_size('_') + '_')
print('/ ' + times_msg_size(' ') + ' \\')
print('| ' + message + ' |')
print('\\_' + times_msg_size('_') + '_/')
print(' \\')
print(' \\')
def make_tapir():
print(''' _,.,.__,--.__,-----.
,"" ')) `.
,' e ))
( .='__, ,
`~` `-\\ /._____,/ /
| | ) ( ( ;
| | | / / / /''')
if __name__ == '__main__':
args = ' '.join(sys.argv[1:])
make_speech_bubble(args)
make_tapir()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.