Python tasks
Every task in one place. Pick a mode, a topic or a concept to practise.
Short understanding tasks: multiple choice, predicting the output, finding the bug and completing code.
8 tasks
- Multiple choiceBasicrange with a stepLoops · Theory and practicefor loops and range()
- Predict the outputElementaryEnding a loop earlyLoops · Theory and practiceThe if statementfor loops and range()break and continue
- True / falseBasicHow many times?Loops · Theory and practicefor loops and range()
- Predict the outputElementaryA loop inside a loopLoops · Theory and practicefor loops and range()Nested loops
- Complete the codeElementaryThe sum from 1 to nLoops · Theory and practiceReading numbers from inputfor loops and range()Counting and summing in a loop
- Find the bugElementaryA missing elementLists · Theory and practicefor loops and range()Looping over a list
- Predict the outputBasicA day-by-day simulationAlgorithmic problems · Theory and practicefor loops and range()Simulation
- Fix the programElementaryFix the prime testGraduation exam preparation · Mixed tasksInteger division and remainder: // and %The if statementfor loops and range()Divisibility, primes, GCD