You are viewing a single comment's thread. Return to all comments →
Thank you for the solution, below easy method also works fine:
n, m = input().split() numpy.set_printoptions(sign=' ') print(numpy.eye(int(n), int(m)))
n, m = input().split()
numpy.set_printoptions(sign=' ') print(numpy.eye(int(n), int(m)))
Seems like cookies are disabled on this browser, please enable them to open this website
Eye and Identity
You are viewing a single comment's thread. Return to all comments →
Thank you for the solution, below easy method also works fine: