Q. Which keyword is used to handle exceptions in Python?

  • (A) catch
  • (B) try
  • (C) except
  • (D) throw
πŸ’¬ Discuss
βœ… Correct Answer: (C) except
Explanation: `try` is used to start a block of code, and `except` is used to handle exceptions.
Explanation by: Mr. Dubey
`try` is used to start a block of code, and `except` is used to handle exceptions.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
104
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate