Post History
APL (Dyalog Classic), 31 bytes '#',{4=≢⍵:⍵[2 2 3 3 4 4]⋄6⍴1↓⍵} Try it online!
Answer
#2: Post edited
**APL** 46 bytes- '#',{4=≢⍵:⍵[2 2 3 3 4 4]⋄6⍴1↓⍵}
- # [APL (Dyalog Classic)], 31 bytes
- <!-- language-all: lang-apl -->
- '#',{4=≢⍵:⍵[2 2 3 3 4 4]⋄6⍴1↓⍵}
- [Try it online!][TIO-m6fa255k]
- [APL (Dyalog Classic)]: https://www.dyalog.com/
- [TIO-m6fa255k]: https://tio.run/##SyzI0U2pTMzJT9dNzkksLs5M/v9fXVldp9rE9lHnoke9W62AONpIwUjBGAhNFExiH3W3mD3q3WL4qG0yUKr2f9qjtgkk6lBQV3Z0MjSysFTngrBhtDOUoQ4A "APL (Dyalog Classic) – Try It Online"