When you just want to do a try-except without handling the exception, how do you do it in Python?
Is the following the right way to do it?
try:
s
In Python, we handle exceptions similar to other language, but the difference is some syntax difference, for example,
try:
#Your code in which exception can occur
except :
# We can call that exception here also, like ZeroDivisionError()
# now your code
# We can put in a finally block also
finally:
# Your code...