Lesson 1/2~44 min
Theory and practice
Indices, slices, string methods, split and join.
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.
~12 min read · 11 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 choiceCharacters at positionsBasic10 XP
- Predict the outputString slicesElementary20 XP
- Predict the outputString methodsBasic10 XP
- True / falseChanging a characterElementary20 XP
- Predict the outputSplit and joinBasic10 XP
- Complete the codeHow many letters a?Elementary20 XP
- Multiple choiceThe next letterElementary20 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.