VIP 👤
🏠 Hem
Benchmarkar
📊 Alla benchmarkar 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List-applikationer 🎨 Kreativa fria sidor 🎯 FSACB - Ultimata uppvisningen 🌍 Översättningsbenchmark
Modeller
🏆 Topp 10 modeller 🆓 Gratis modeller 📋 Alla modeller ⚙️ Kilo Code
Resurser
💬 Promptbibliotek 📖 AI-ordlista 🔗 Användbara länkar 🔌 AI-API:er och routrar
Beginner

Reverse a String

#string #manipulation #function

Create a function that takes a string input and returns the string in reverse order.

Write a function that accepts a single string argument and returns the characters of that string in reverse order. For example, if the input is 'hello', the output should be 'olleh'. Ensure you handle edge cases like empty strings.