def eval_expression(a, operator, b):
    """
    Evaluate mathematical or compare expression; for example 2 / 3
    :param a: A value
    :param operator: ArithmeticOperator
    :param b: B value
    :return: Result of A op B
    """
    return eval(str(a) + operator.value + str(b))