def guadd(a, b, c):
 (x, y) = c.shape
 for i in range(x):
  for j in range(y):
   c[(i, j)] = (a[(i, j)] + b[(i, j)])

def guadd ( a , b , c ) : ( x , y ) = c . shape for i in range ( x ) : for j in range ( y ) : c [ ( i , j ) ] = ( a [ ( i , j ) ] + b [ ( i , j ) ] )
a generalized addition .