Python tasks
Every task in one place. Pick a mode, a topic or a concept to practise.
Every task of the course, from quick understanding checks to exam-style problems.
5 tasks
- Predict the outputElementaryText or number?Variables and data types · Theory and practiceNumbers: int and floatText: the str type
- Find the bugElementaryText and a number togetherVariables and data types · Theory and practiceText: the str typeConverting types: int(), float(), str()
- Write a programElementaryText and a number in one sentenceVariables and data types · Programming challengesText: the str typeConverting types: int(), float(), str()
- Multiple choiceBasicWhat does input() return?Input and output · Theory and practiceText: the str typeInput with input()
- Algorithmic problemElementaryTo binaryGraduation exam preparation · The while loopText: the str typeReading numbers from inputInteger division and remainder: // and %while loops