As you have learned from the topic, SciPy has many advanced linear algebra functions. Let's look at another problem that takes advantage of those cool features.
Your task is to find Schur decomposition of the matrix
You can find the needed function in scipy.linalg. After you've calculated the decomposition, find the traces of matrices and , and print their sum. You can use numpy.trace or scipy.trace to get the traces of matrices.
Tip: Don't forget to import scipy.linalg!