def monomial_mul(A, B):
 return tuple([(a + b) for (a, b) in zip(A, B)])

def monomial_mul ( A , B ) : return tuple ( [ ( a + b ) for ( a , b ) in zip ( A , B ) ] )
multiplication of tuples representing monomials .