Solveeit Logo

Question

Computer Science Question on Exception Handling

Which of the following are used in python exception handling?
Options:
A) try
B) except
C) finally
D) seek
Choose the correct answer from the options given below:

A

(A), (B), and (D) only

B

(A), (B), and (C) only

C

(A), (B), (C), and (D)

D

(B), (C), and (D) only

Answer

(A), (B), and (C) only

Explanation

Solution

Python exception handling involves the keywords ‘try‘, ‘except‘, and ‘finally‘. ‘seek‘ is not used in exception handling.