Ad
  • Custom User Avatar

    Thank you, this was very helpful and it was indeed the case that I was printing as opposed to returning the expected value.

  • Custom User Avatar

    I solved this using a loop which automatically prints each value to it's own line and I'm getting an error when running tests:
    None should equal '1\n333'

    I tried appending the items to a list then using the join function with a newline and I'm still getting the same error even though the desired output looks correct.