VIP 👤
🏠 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 🔌 API & Routeurs
beginner

Check for Empty String

#conditionals #strings #python

A simple exercise to determine if a variable holds an empty string.

Write a function that accepts a single parameter. The function should check if the value of the parameter is an empty string (""). If it is empty, print 'The string is empty'. Otherwise, print 'The string is not empty'.