Arithmetic arranger has two errors, not sure whats wrong

My arithmetic arranger has some errors and I can’t seem to get the testcase maxdiff set to none, can you see what is wrong with it?

repl

I can’t run your code (I can’t find the button), but I would say you are missing returning the final output, instead of printing it

thanks, how would I go about turning those print statements into a string?

Basically instead of calling print(), you take the data you got and put it into a variable called “output” or whatever.
Python can combine strings a simple “+”. Then just return that string.

str1 = "Bob"
str2 = "car"
return str1 + "by" + str2
#returns the string "Bobbycar"

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