Wiley Interview Question

Matrix multiplication in python. try catch and finally