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.
7 tasks
- Predict the outputBasicKeys and valuesDictionaries · Theory and practiceKeys and values
- Multiple choiceElementarySafe lookupDictionaries · Theory and practiceKeys and values
- True / falseBasicA missing keyDictionaries · Theory and practiceKeys and values
- Write a programBasicA reversed dictionaryDictionaries · Programming challengesReturn values: returnKeys and valuesLooping over a dictionary: keys, values, items
- Write a programElementaryWords by their first letterDictionaries · Programming challengesList methods: append, pop, remove, …Keys and valuesLooping over a dictionary: keys, values, items
- Write a programBasicThe price of an itemExceptions · Programming challengesKeys and valuestry – exceptKinds of exceptions: ValueError, ZeroDivisionError, …
- Predict the outputElementaryA list of dictionariesAdvanced data structures · Theory and practiceKeys and valuesLists of dictionaries and nested structures