# Write a NumPy program to get all 2D diagonals of a 3D NumPy array.  
 import numpy as np
np_array = np.arange(3*4*5).reshape(3,4,5)
print("Original Numpy array:")
print(np_array)
print("Type: ",type(np_array))
result = np.diagonal(np_array, axis1=1, axis2=2)
print("\n2D diagonals: ")
print(result)
print("Type: ",type(result))
