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.
8 tasks
- Multiple choiceBasicWhat does input() return?Input and output · Theory and practiceText: the str typeInput with input()
- True / falseBasicA sum from input?Input and output · Theory and practiceInput with input()Reading numbers from input
- Write a programBasicTwo numbers reversedInput and output · Programming challengesInput with input()Reading numbers from inputFormatting output: sep, end, f-strings
- Write a programBasicHalf pyramidGraduation exam preparation · StringsInput with input()for loops and range()Slicing
- Write a programBasicFinding a characterGraduation exam preparation · StringsInput with input()String methods: upper, find, replace, …
- Write a programBasicGuess the wordGraduation exam preparation · The while loopInput with input()The if statementwhile loopsString methods: upper, find, replace, …
- Write a programBasicCharacters and their positionsGraduation exam preparation · The while loopInput with input()while loopsIndexing characters
- Write a programElementaryA text windmillGraduation exam preparation · Graphics with tkinterInput with input()for loops and range()Drawing on a canvas (tkinter)