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.
2 tasks
- Predict the outputElementaryRaising an exceptionExceptions · Theory and practicetry – exceptRaising an exception: raise
- Write a programElementaryChecking the sides of a rectangleExceptions · Programming challengesReturn values: returnKinds of exceptions: ValueError, ZeroDivisionError, …Raising an exception: raise