I’m having issues with the Arithmetic Formatter task, I am pretty sure the code I have does everything required to pass but I dont seem to be passing any of the pytest tests…
You are using global variables within the file and this causes every call to the function to ADD problems to the previous ones. Meaning every output includes ALL previous outputs and thus fails all tests beyond the first.
Now the first one seems to have a spacing issue.
Though given you have to work out the function without global variables, I’d recommend you do that first. After that, we can look at spacing again.