VIP 👤
🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links 🔌 API & Routers
beginner

Loop Until Empty

#loops #input #while-loop

Loop through input until an empty string is received.

Write a loop that continues to ask the user for input. The loop should only stop when the user types an empty string ("") and presses enter. Count how many times the user typed text before stopping.