Computer Science for IGCSE & O level - Programming (Section 1 - No. 36)
What is the purpose of the `try...except` block in Python?
To define a function.
To handle potential errors and exceptions.
To create a loop.
To declare a variable.
Explanation
try...except allows you to catch and handle errors.
Comments (0)
