def diagonalDifference(arr):
right_diagonal_sum = 0
left_diagonal_sum = 0
for i in range(0, len(arr)):
right_diagonal_sum += arr[i][i]
left_diagonal_sum += arr[i][(len(arr)-1)-i]
return abs(right_diagonal_sum - left_diagonal_sum)
abs(right_diagonal_sum - left_diagonal_sum)
abs() : 해당하는 값의 절대값을 반환해주는 함수