Cash Register Project Issue

I am failing the “Open” tests for this project even though the output seems to be correct. I am stumped at what could be causing this. Source code below:

Help appreciated in advance!

Version on

I tried the code and everything is fine :thinking:

Huh, me too and it didn’t. Then I tried again and it did… :thinking:
Remove the function call from the bottom seems that’s confusing the tests.

This worked. Literally spent over 2 hours trying to debug this lol. Really odd. Thanks!

1 Like