bin/longcat @ 3d37ca22c5c5
bpollack/use-command-to-explicitly-call-ag-and-us-1442506830050
Use command to explicitly call ag, and use compound if block
author |
Benjamin Pollack <benjamin@bitquabit.com> |
date |
Thu, 17 Sep 2015 16:20:42 +0000 |
parents |
db4d0e62bcdb |
children |
4e1d6d6873fe |
#!/usr/bin/env python
import sys
if len(sys.argv) > 1:
n = int(sys.argv[1])
else:
n = 20
print r'''
/\___/\
/ \
| o o |
\ # |
\ _|_ /
/ \______
/ _______ ___ \
|_____ \ \__/
| \__/
| |
''',
print ' | |\n' * n,
print r''' | |
/ \
/ ____ \
| / \ |
| | | |
/ | | \
\__/ \__/
'''