VIP 👤
🏠 Home
Benchmark
📊 Tutti i benchmark 🦖 Dinosauro v1 🦖 Dinosauro v2 ✅ App To-Do List 🎨 Pagine libere creative 🎯 FSACB - Ultimate Showcase 🌍 Benchmark traduzione
Modelli
🏆 Top 10 modelli 🆓 Modelli gratuiti 📋 Tutti i modelli ⚙️ Kilo Code
Risorse
💬 Libreria di prompt 📖 Glossario IA 🔗 Link utili 🔌 API e router IA
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'.