Reverse String

Write a function to reverse a string

def reverse(string)
  # your magic
end
reverse("hello world")
# should return "dlrow olleh"

results matching ""

    No results matching ""