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 outputBasicThe math moduleModular programs · Theory and practiceImporting modulesStandard modules: math, random
- True / falseBasicA random whole numberModular programs · Theory and practiceStandard modules: math, random
- Find the bugBasicA name from a moduleModular programs · Theory and practiceImporting modulesStandard modules: math, random
- Complete the codeElementaryA dieModular programs · Theory and practiceReturn values: returnImporting modulesStandard modules: math, random