Arithmetic Formatter

I am trying to test my code but each I keep getting an error:

 python3
Traceback (most recent call last):
File “”, line 7, in
print(arithmetic_arranger([“32 + 698”, “3801 - 2”, “45 + 43”, “123 + 49”]))
File “/home/runner/boilerplate-arithmetic-formatter-2/”, line 16, in arithmetic_arranger
if([‘^\s0-9.±’], problem)):
File “/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/”, line 201, in search
return _compile(pattern, flags).search(string)
File “/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/”, line 294, in _compile
return _cache[type(pattern), pattern, flags]
TypeError: unhashable type: ‘list’

how can I go about it?

Without being able to see the full project code, it is difficult to help. Please post a link to your replit.

Thank you. - boilerplate-arithmetic-formatter (2) - Replit

That is my replit link['^\s0-9.+-'], problem)

The following is not proper syntax for a regular expression:


I assume you meant to write:


Thanks let me change that