Loops (for / while)
Iterating over items/ranges with for and conditional repetition with while.
Simple enough for a 5-year-old to understand
for loop
for i in 1 2 3; do echo $idone🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (1 left)
🎯 Expected output: 1
2
3
4
5