(PCEP) Certified Entry-Level Python Programmer Practice Test
(PCEP) Certified Entry-Level Python Programmer PCEP Error Handling and Debugging
What does the "try...except" block in Python do?
Select your answer
A
Executes code only if no errors occur
B
Catches and handles exceptions or errors that occur during execution
C
Terminates the program if an error occurs
D
Ignores all errors during execution
Need a hint?
(H)