VIP 👤
🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links 🔌 API & Routers
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.