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.
9 tasks
- Write a programIntermediateA rectangle around pointsTuples · Programming challengesUnpacking: a, b = …Returning several valuesFinding the minimum and maximum
- Find the bugElementaryThe maximum of negative numbersAlgorithms · Theory and practiceFinding the minimum and maximum
- Write a programElementaryMinimum and maximum in one passAlgorithms · Programming challengesLooping over a listReturning several valuesFinding the minimum and maximum
- Write a programElementaryThe best resultWorking with files · Programming challengesFinding the minimum and maximumReading from a fileProcessing a file line by line
- Write a programElementaryThe largest item of a matrixAdvanced data structures · Programming challengesNested loopsFinding the minimum and maximumTwo-dimensional lists
- Write a programElementaryThe second largest numberGraduation exam preparation · ListsList methods: append, pop, remove, …len, sum, min, max and sortedSets and unique itemsFinding the minimum and maximum
- Write a programBasicThe largest and the smallest numberGraduation exam preparation · Listswhile loopsList methods: append, pop, remove, …len, sum, min, max and sortedFinding the minimum and maximum
- Write a programElementaryThe most frequent elementGraduation exam preparation · ListsSplitting and joining: split() and join()List methods: append, pop, remove, …len, sum, min, max and sortedFinding the minimum and maximum
- Write a programElementaryMinimum, count and positionsGraduation exam preparation · Mixed tasksReturn values: returnLooping over a listlen, sum, min, max and sortedFinding the minimum and maximum