🏠 Startseite
Vergleiche
📊 Alle Benchmarks 🦖 Dinosaurier v1 🦖 Dinosaurier v2 ✅ To-Do-Listen-Apps 🎨 Kreative freie Seiten 🎯 FSACB - Ultimatives Showcase 🌍 Übersetzungs-Benchmark
Modelle
🏆 Top 10 Modelle 🆓 Kostenlose Modelle 📋 Alle Modelle ⚙️ Kilo Code
Ressourcen
💬 Prompt-Bibliothek 📖 KI-Glossar 🔗 Nützliche Links
beginner

Reverse a String

#strings #manipulation

Write a function that accepts a string and returns the string reversed.

Create a function named reverseString that takes a single string argument. The function should return the string with its characters in reverse order. For example, if the input is 'hello', the output should be 'olleh'. Do not use built-in reverse functions if possible; try using a loop.