Python Creating Diagonal Matrix Using Numpy Returns Z

Python Creating Diagonal Matrix Using Numpy Returns Z