repl.it
@petemojeiko/

ThinGraveBarracuda

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
def f(h,n):print('\|/'[:max(0,n-h)]+'\n'+'\n'.join('(-)-'if h<n-x-3else('(-)','( )')[x+n<h] for x in range(h)))

for i in [(2,0),(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),(2,7),(1,1),(1,5),(4,7),(5,0)]:
	print(i);f(i[0],i[1]);print('-'*10)