# [Python 2], <s>79</s> 78 bytes <!-- language-all: lang-python --> n,d=input() c='|\/'[d] for i in range(n):print' '*(n+i*d)+c,[' ',c][(n-i)%2],c [Try it online!][TIO-jsymn9kl] [Python 2]: https://docs.python.org/2/ [TIO-jsymn9kl]: https://tio.run/##Dce9CoAgFAbQvadwCbVuRA0NgU9iDqH93OVLxIagd7fOduKTzwtjKaBgGPHOSlfeyHfppQ2u2q8kWDBEWnFsCnqOiZGlkI1Cy03QrSf7l7yzCh3renTkS5lo@AA "Python 2 – Try It Online" Takes d as `[1,0,-1]` for `left,center,right`