Question #205941

how to find out the antidiagonal matrix


Expert's answer

numberValues = int(input())
antidiagonalMatrix = []
for i in range(numberValues):
    antidiagonalMatrix.append(list(map(int, input().split()))[numberValues - 1 - i])
            
print(antidiagonalMatrix)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS