Question:

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:

Updated On: Nov 4, 2024
  • (A), (B), and (D) only
  • (A), (B), and (C) only
  • (A), (B), (C), and (D)
  • (B), (C), and (D) only
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Python exception handling involves the keywords ‘try‘, ‘except‘, and ‘finally‘. ‘seek‘ is not used in exception handling.
Was this answer helpful?
0
0