I am trying to test my code but each I keep getting an error:
python3 main.py
Traceback (most recent call last):
File “main.py”, line 7, in
print(arithmetic_arranger([“32 + 698”, “3801 - 2”, “45 + 43”, “123 + 49”]))
File “/home/runner/boilerplate-arithmetic-formatter-2/arithmetic_arranger.py”, line 16, in arithmetic_arranger
if(re.search([‘^\s0-9.±’], problem)):
File “/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/re.py”, line 201, in search
return _compile(pattern, flags).search(string)
File “/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/re.py”, line 294, in _compile
return _cache[type(pattern), pattern, flags]
TypeError: unhashable type: ‘list’
how can I go about it?