Skip to main content
-3 bytes
Source Link
Jo King
  • 47.5k
  • 5
  • 125
  • 186

Python 3, 6565 62 bytes

s='-'*6
p='|  '
for n in s7,p*20,p+"|--"3,p*20,s7:printx="-"*n+"|  "*5;print(n+'x'+n[x[6:0:-1]1]+'x'+x[1:7])

Try it online!Try it online!

Python 3, 65 bytes

s='-'*6
p='|  '
for n in s,p*2,p+"|--",p*2,s:print(n+'x'+n[::-1])

Try it online!

Python 3, 65 62 bytes

for n in 7,0,3,0,7:x="-"*n+"|  "*5;print(x[6:0:-1]+'x'+x[1:7])

Try it online!

Source Link
Jo King
  • 47.5k
  • 5
  • 125
  • 186

Python 3, 65 bytes

s='-'*6
p='|  '
for n in s,p*2,p+"|--",p*2,s:print(n+'x'+n[::-1])

Try it online!