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.
6 tasks
- True / falseBasicThe else branchConditions · Theory and practiceTwo branches: if – else
- Fix the programElementaryPositive, negative or zeroConditions · Theory and practiceReading numbers from inputTwo branches: if – elseSeveral branches: elif
- Write a programIntermediateParking feeConditions · Programming challengesFormatting output: sep, end, f-stringsInteger division and remainder: // and %Two branches: if – elseSeveral branches: elif
- Write a programBasicPalindromeGraduation exam preparation · StringsTwo branches: if – elseSlicingString methods: upper, find, replace, …
- Algorithmic problemElementaryThe Collatz sequenceGraduation exam preparation · The while loopReading numbers from inputInteger division and remainder: // and %Two branches: if – elsewhile loops
- Write a programBasicLeap yearGraduation exam preparation · Mixed tasksReading numbers from inputInteger division and remainder: // and %Logical operators: and, or, notTwo branches: if – else