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
- Predict the outputElementaryLooping over pairsDictionaries · Theory and practiceLooping over a dictionary: keys, values, items
- Write a programBasicA reversed dictionaryDictionaries · Programming challengesReturn values: returnKeys and valuesLooping over a dictionary: keys, values, items
- Write a programElementaryLetter countsDictionaries · Programming challengesString methods: upper, find, replace, …Looping over a dictionary: keys, values, itemsCounting occurrences
- Write a programElementaryWords by their first letterDictionaries · Programming challengesList methods: append, pop, remove, …Keys and valuesLooping over a dictionary: keys, values, items
- Write a programIntermediateTotal points and rankingDictionaries · Programming challengeslen, sum, min, max and sortedTuples and immutabilityLooping over a dictionary: keys, values, itemsCounting occurrences
- Write a programIntermediateAverage points per classAdvanced data structures · Programming challengeslen, sum, min, max and sortedLooping over a dictionary: keys, values, itemsLists of dictionaries and nested structures