← All practice quizzes
Quiz: Exceptions and Files
5 questionsNo time limitPass: 60%+10 XP on first pass
Handle errors gracefully with try, except, else and finally, raise your own errors, and read and write text, CSV and JSON files safely with "with open()".
Log in to take the quiz
Free account · see your score, answers and explanations, earn XP