Failing a test because of an extra line
So I have this little program written up as part of a school assignment, this means that its using the testing feature on repl.it. And I'm noticing that while my program gets the right answer on the test, I sill fail the test. I think its because of the extra line that gets put out on my program's end.
Can anybody help me with this? I just wanna get rid of the line so I don't fail the tests.
Print adds a
\n by default. You don't want that, it seems
print('\nEach person should pay $'+ str(final_split), end = '')
will do it!