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.
4 tasks
- Predict the outputBasicWhile the condition holdsLoops · Theory and practicewhile loops
- Find the bugElementaryA loop that never endsLoops · Theory and practicewhile loops
- Predict the outputElementaryEuclid's algorithmAlgorithms · Theory and practicewhile loopsUnpacking: a, b = …Divisibility, primes, GCD
- Predict the outputElementaryHow many times can you halve itAlgorithmic problems · Theory and practicewhile loopsEfficiency of a solution