Lesson 1/2~44 min
Theory and practice
for, while, range, break and nested loops.
You can solve exercises without signing in; sign in and your progress is kept.
What you practise here
Topic notes (in Slovak)
The whole topic explained step by step, with examples, worked problems, common mistakes and a summary.
~20 min read · 25 runnable examples
In the notes
Short tasks that check you understand: multiple choice, predicting the output, finding the bug, completing code.
Start the exercises- Multiple choicerange with a stepBasic10 XP
- Predict the outputWhile the condition holdsBasic10 XP
- Predict the outputEnding a loop earlyElementary20 XP
- True / falseHow many times?Basic10 XP
- Predict the outputA loop inside a loopElementary20 XP
- Find the bugA loop that never endsElementary20 XP
- Complete the codeThe sum from 1 to nElementary20 XP
Mastery and review
Once the tasks are done, check the topic with its mastery test. Review then brings it back at the right time.