You are viewing a single comment's thread. Return to all comments →
import numpy numpy.set_printoptions(legacy="1.13") N,M=list(map(int,input().split())) print(numpy.eye(N,M,k=0))
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 →
import numpy numpy.set_printoptions(legacy="1.13") N,M=list(map(int,input().split())) print(numpy.eye(N,M,k=0))