4. String

4.3 Print string in reverse

Ruby provides the reverse method to print a string in reverse.

Execute the code below to see the string being printed in the reverse order.