5 lines
171 B
Crystal
5 lines
171 B
Crystal
from = ['A'..'Z', 'a'..'z'].flat_map(&.to_a).join
|
|
to = ['N'..'Z', 'A'..'M', 'n'..'z', 'a'..'m'].flat_map(&.to_a).join
|
|
while line = ARGF.gets
|
|
puts line.tr from, to
|
|
end
|