Try
Something()
CATCH exception
HandleException(exception)
Finally
PrintLog()
try {
//do something
} catch(error){
//handle error
} finally{
//apply default action
}
try {
//do something
} catch(Exception ex){
//handle error
} finally {
//apply default action
}
x,y = 3,2
try:
# Floor Division : Gives only Fractional Part as Answer
result = x // y
print("Yeah ! Your answer is :", result)
except ZeroDivisionError:
print("Sorry ! You are dividing by zero ")