repl.it
@anonymous/

MinorCoolCanadagoose

Ruby

No description

fork
loading
Files
  • main.rb
main.rb
1
2
3
s=*?A..?Y
s+=[?Z]+s.reverse
puts s.map{|e|k=[*?A...e]*'';k+e+k.reverse}
ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux]