repl.it
@anonymous/

YellowgreenTameSpoonbill

Ruby

No description

fork
loading
Files
  • main.rb
main.rb
1
2
3
f=->n,i=1{f[n-1,i+1]if n>1;puts' '*i+?_*n*2,"%#{i-1}s/,#{?_*2*~-n},\\"%(i<2?'':'o '[i%2])+' o'[i%2]}

f[7]
ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux]
?