I can’t seem to figure out why my code is failing the tests on Replit, even though the output looks as expected. I wrote and tested it with different sets of input problems in VS Code first before testing it in Replit, and everything looked ok. I would appreciate if anyone could help me see what I’m missing here. Thank you!
Thank you! I updated my code in the replit and now it passes all tests. I gave the second parameter a default value so that it can be optional, and removed a newline at the end that snuck in there.