Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Skew-symmetric Matrix by eryk.kosmala
def checkio(matrix):
liczba = len(matrix)
for i in range(liczba):
for j in range(liczba):
if j == i and matrix[i][j] !=0:
return False
for i in range(liczba):
for j in range(liczba):
if matrix[i][j] != (-1)*(matrix[j][i]):
return False
return True
Nov. 17, 2018