Posted on

Description

Submission

import numpy

n, m = [int(i) for i in input().split()]

print(str(numpy.eye(n, m)).replace('0', ' 0').replace('1', ' 1'))

Leave a Reply

Your email address will not be published. Required fields are marked *