0
What is try and except in Python
please explain in briefly, I'm not understanding.
1 Answer
0
they are used for exception handling...
the control flow goes to the statements which are written in the try block if there is no error find in the try block then it goes to the statements after the except block
if any error found in the try block then it goes to the statements which are written in the except block
even there are more number of except blocks based on the name of the error