Arithmetic formatter trouble

Not sure why it keeps showing an error. Have tried moving the if statement into different tab ‘columns’ and doesn’t work.

Don’t know why there is an error in either.

The error message is telling you in which file the error is happening and below that the actual line, referring to this part of your code:

  if solve:
  string = first + "\n" + second + "\n" + lines + "\n" + sumx
  string = first + "\n" + second + "\n" + lines
  return string

You are missing the indentation for the if-else blocks.

The error is happening in “” AND “” because the error message is so nice to tell you every position it’s running into the problem. Well and it runs into a problem while being in importing the :wink:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.