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 programBasicThe sum from 1 to nRecursion · Programming challengesRecursive functionsThe base case
- Write a programElementaryCounting digits recursivelyRecursion · Programming challengesInteger division and remainder: // and %Recursive functionsThe base case
- Write a programElementaryThe maximum of a list recursivelyRecursion · Programming challengesSlicingThe base caseRecursive algorithms