Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Very nice kata. Thank you!
Thank you for the feedback. If you could point out what you consider edge cases i will add them to the fixed test battery
I fixed the syntax warning
I assume you are using Python (please always state it first).
The error is due to the fact that you try to print too much stuff to the screen. Some random tests are big, you are supposed to handle it (eg. print only if input is below a certain size) and this cannot be considered a kata issue.
I was getting the below error on attempts until I removed some print statements I was using to debug. Getting a warning from a test seems weird.
The standard test cases don't cover many of the edge cases that are in the larger test cases which creates a situation in which you have to attempt to debug.
I'm not sure what value is provided by random test cases large enough to create a max buffer size issue but it doesn't force the trainee to refacor code to be better but just eliminate print statements.
/workspace/default/tests.py:26: SyntaxWarning: "is not" with a literal. Did you mean "!="?
units += f'({s[i] * (int(s[i-1]))})' if int(s[i-1]) is not 0 else ''
Max Buffer Size Reached (1.5 MiB)