ExamPlay Light Logo
Hyni

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.

Shpjegimi

try...except allows you to catch and handle errors.

Komentet (0)

Identifikohu për të komentuar
Reklamim
BrainBehindX Inc Logo
©2026; Mundësuar nga BrainBehindX Inc