VIP 👤
🏠 Beranda
Benchmark
📊 Semua Benchmark 🦖 Dinosaurus v1 🦖 Dinosaurus v2 ✅ Aplikasi To-Do List 🎨 Halaman Bebas Kreatif 🎯 FSACB - Showcase Utama 🌍 Benchmark Terjemahan
Model
🏆 Top 10 Model 🆓 Model Gratis 📋 Semua Model ⚙️ Kilo Code
Sumber Daya
💬 Perpustakaan Prompt 📖 Glosarium AI 🔗 Tautan Berguna 🔌 API & Router AI
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.