# [Python 2], <s>123</s> <s>112</s> 110 bytes <!-- language-all: lang-python --> def f(n): for i in range(n):a=(n-i)%2;print' '*i+'\\'+['_',('/ \ |'[a::2]*(a+(n-i)/2))[a:-1-a]][i<n-1]+'/' [Try it online!][TIO-j9e91gbm] [Python 2]: https://docs.python.org/2/ [TIO-j9e91gbm]: https://tio.run/##HcvBCgIhEIDhu08xlxhdE9EgFqsnUQmhteYyu8hegt7dyst/@ODf3vtrZd/7Y6lQJasgoK4NCIihFX4ufys3yYbUwV@2Rrwj4EQaU0Id8Y5HiRYAEsAHYwnB50kWPQ7rlfqRcabkHOnKxmWNFnuVTglR5Wn0PDqr/gU "Python 2 – Try It Online"