Python tasks
Every task in one place. Pick a mode, a topic or a concept to practise.
Programming tasks with tests, from easier to demanding.
3 tasks
- Write a programBasicA reversed dictionaryDictionaries · Programming challengesReturn values: returnKeys and valuesLooping over a dictionary: keys, values, items
- Write a programBasicThe price of an itemExceptions · Programming challengesKeys and valuestry – exceptKinds of exceptions: ValueError, ZeroDivisionError, …
- Write a programElementaryWords by their first letterDictionaries · Programming challengesList methods: append, pop, remove, …Keys and valuesLooping over a dictionary: keys, values, items