Question from the Python - Fundamentals test

Write a Python code that handles the exception correctly.

Easy

Which one of these codes handles the exception correctly ?

Author: ThéoStatus: PublishedQuestion passed 1373 times
Edit
-1
Community Evaluations
developer avatar
Ambiguous
Pierre Chaumont
23/07/2024
The raise is ambiguous and has no place there, with a misleading color code to boot.