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 outputBasicFactorialRecursion · Theory and practiceRecursive functionsThe base case
- Multiple choiceBasicWhy a base caseRecursion · Theory and practiceThe base case
- True / falseElementaryRecursion without an endRecursion · Theory and practiceThe base case
- Complete the codeElementaryA recursive powerRecursion · Theory and practiceRecursive functionsThe base case
- 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