Hi All, i have been trying to figure out why i am getting these failures on this test. I have ran the code i wrote on VScode and jupyter notebook and everything seems to be working alright. But when i run the units, i got 2failures. Please could anyone help.
E AssertionError: Expected solutions to be correctly displayed in output when calling "arithmetic_arranger()" with five arithmetic problems and a second argument of `True`.
E assert ' 32 ... 172 1028' == ' 32 ... 172 1028'
E 32 1 45 123 988
E - 698 - 3801 + 43 + 49 + 40
E ----- ------ ---- ----- -----
E - -666 -3800 88 172 1028
E ? -
E + -666 -3800 88 172 1028
In this case, the + line is your code and the - line is what is expected. So somewhere you’re missing a space from the beginning of your answer line. Looking at all the answer occurrences in your code and I find that one of these things is not like the others: