Eye and Identity

  • + 0 comments
    import numpy as np 
    np.set_printoptions(legacy = "1.13")
    N, M = map(int, input().split())
    
    arr = np.eye(N,M, k = 0)
    print(arr)