Examveda

What is the syntax to raise an exception manually in Python?

A. raise Exception("Message")

B. throw Exception("Message")

C. throw("Message", Exception)

D. exception("Message")

Answer: Option A


This Question Belongs to Python Program >> Exception Handling In Python

Join The Discussion

Related Questions on Exception Handling in Python