Skip to content

Instantly share code, notes, and snippets.

@beakr
Created December 31, 2014 22:51
Show Gist options
  • Save beakr/ed5273614bc4f4087abb to your computer and use it in GitHub Desktop.
Save beakr/ed5273614bc4f4087abb to your computer and use it in GitHub Desktop.
#!/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