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
- Predict the outputBasicNo repeatsSets · Theory and practiceSets and unique items
- Multiple choiceElementaryAn empty setSets · Theory and practiceSets and unique items
- Complete the codeElementaryThe number of different wordsSets · Theory and practiceSplitting and joining: split() and join()Sets and unique items
- Write a programBasicAre they all different?Sets · Programming challengeslen, sum, min, max and sortedSets and unique items
- Write a programBasicCommon lettersSets · Programming challengesSplitting and joining: split() and join()Sets and unique itemsUnion, intersection, difference
- Write a programElementaryA pangramSets · Programming challengesString methods: upper, find, replace, …Sets and unique itemsMembership: in
- Write a programElementaryMissing numbersSets · Programming challengesfor loops and range()Sets and unique itemsUnion, intersection, difference
- Fix the programIntermediateThe second largest valueAlgorithmic problems · Theory and practiceSets and unique itemsSortingEdge cases
- 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