def multiply(expression):
    value = 1
    for n in expression.split('*'):
        value *= int(n)
    return value
    # sympy takes up too much memory
    # from sympy.parsing.sympy_parser import parse_expr
    # return int(parse_expr(expression).evalf())
multiplication calculation
dataset/ETHPy150Open remyzane/flask-http-api/http_api/utility.py/multiply