Browse Source

refactoring: added line at end of file

remotes/origin/feature/feature-read-math-functions
fdai7763 11 months ago
parent
commit
6526fb4d6b
  1. 2
      src/main/py/read_math_function.py

2
src/main/py/read_math_function.py

@ -56,4 +56,4 @@ def simplify_easy_math_function(type, function):
def extract_constant(function):
coefficient, constant = function.split('x', 1) if 'x' in function else (function, '')
constant = constant.lstrip('+')
return [constant, f"{coefficient}x"]
return [constant, f"{coefficient}x"]
Loading…
Cancel
Save