sopel.tools.calculation#
Tools to help safely do calculations from user input
- sopel.tools.calculation.eval_equation = <sopel.tools.calculation.EquationEvaluator object>#
Evaluates a Python equation expression and returns the result.
- Parameters:
Supports addition (+), subtraction (-), multiplication (*), division (/), power (**) and modulo (%).