beginner
Reverse a String
Take a string input and return it in reverse order.
📝 Содержимое промпта
Write a function that accepts a string and returns the string reversed. For instance, inputting 'cat' should result in 'tac'.