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

Add Empty Strings

#arrays #methods #loops

Manipulate arrays by adding empty strings.

Create an array with three numbers. Write a loop that adds an empty string ("") to the end of the array after each number. The final array should have 6 elements alternating between numbers and empty strings.