🏠 Accueil
Benchmarks
📊 Tous les Benchmarks 🦖 Dinosaure v1 🦖 Dinosaure v2 ✅ To-Do List Apps 🎨 Pages Libres 🎯 FSACB - Showcase 🌍 Traduction
Modèles
🏆 Top 10 Modèles 🆓 Modèles Gratuits 📋 Tous les Modèles ⚙️ Modes Kilo Code
Ressources
💬 Prompts IA 📖 Glossaire IA 🔗 Liens Utiles
beginner

Return Empty on Error

#functions #return-values #error-handling

Design a function that returns an empty string for specific inputs.

Write a function named `get_first_letter` that takes a string argument. If the input string is empty (""), return an empty string (""). Otherwise, return the first character of the input.