A

Admin • 833K Points
Coach

Q. Which of the following keywords is used for exception handling in Python?

  • (A) try
  • (B) catch
  • (C) handle
  • (D) except
  • Correct Answer - Option(A)
  • Views: 30
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

The `try` keyword is used to start a block that will catch exceptions. The `except` keyword handles them.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.