RosettaCodeData/Task/Reverse-a-string/Crystal/reverse-a-string.crystal
2023-07-01 13:44:08 -04:00

6 lines
104 B
Text

# version 0.21.1
strings = ["asdf", "as⃝df̅"]
strings.each do |s|
puts "#{s} -> #{s.reverse}"
end