Learn Ruby
String
3.3
Lesson

reverse to reverse string

Ruby provides reverse method to reverse a string.

Run the code below to print the string in the reverse order.