Challenge
Given an input n
, print an ASCII art cake n
layers tall, viewed from the side, with two candles on top. Refer to the examples below for details.
Output
>> cake(1)
_|_|_
| |
+-----+
>> cake(3)
_|_|_
| |
+---------+
| |
+-------------+
| |
+-------------+
...and so on.
Rules
- Standard loopholes prohibited
- Please make an attempt at a clever solution
- This is code-golf, so shortest answer in bytes wins. However, the answer will not be selected.