@ -99,4 +99,6 @@ def simplify_product_function(type, function):
result_coefficient = 1
result_variables = ""
for term in terms:
simplified_term = simplify_easy_math_function("v", term.strip())
if not simplified_term or len(simplified_term) != 2:
return False