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.
6 tasks
- Predict the outputBasicA variable changesVariables and data types · Theory and practiceVariables and assignmentArithmetic operators
- Predict the outputElementaryAn f-stringInput and output · Theory and practiceFormatting output: sep, end, f-stringsArithmetic operators
- Fix the programElementaryThe area of a rectangleInput and output · Theory and practiceReading numbers from inputArithmetic operators
- Predict the outputBasicThree kinds of divisionOperators · Theory and practiceArithmetic operatorsInteger division and remainder: // and %
- Multiple choiceBasicWhat is computed first?Operators · Theory and practiceArithmetic operators
- Predict the outputElementaryPowers and the minus signOperators · Theory and practiceArithmetic operators