Eye and Identity

  • + 0 comments
    import numpy
    numpy.set_printoptions(legacy='1.13')
    
    print(numpy.eye(*map(int,input().split())))
    

    '*' operator unpacks the two integers so they can be passed as arguements to numpy.eye