How to pass a variable to an exception in Python?
Answers
Answered by
0
Python, exceptions can be handled using a try statement. A critical operation which can raise exception is placed inside the try clause and the code that handles exception is written in except clause. It is up to us, what operations we perform once we have caught the exception. Here is a simple example.
please mark me brainliest
if mark me brainliest..
I also follow you..
Similar questions