From 4c397b28751a474d8883b477f309e628c7cfa986 Mon Sep 17 00:00:00 2001 From: fdai7763 Date: Tue, 23 Jan 2024 20:42:17 +0100 Subject: [PATCH] refactoring: added new line --- src/main/py/read_math_function.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/py/read_math_function.py b/src/main/py/read_math_function.py index 3f7deea..e608dc0 100644 --- a/src/main/py/read_math_function.py +++ b/src/main/py/read_math_function.py @@ -14,6 +14,7 @@ def is_allowed_string(type, value): allowed = "+-*/()^" return all(character.isdigit() or character in allowed for character in value) + def calculate_string(string): string = string.replace('^', '**') try: