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.
Quite fancy kata to exercise with indeed, compliments.
Another typo:
Some annoying parts of this kata:
Fixed.
From description: the items will be pushed to the right and the empy space filled with '-'
Can anyone explain the logic behind the "-" placement? I really don't understand this
Please avoid approving translations if you're not familiar with authoring guidelines, especially if you don't know the language. The review system exists for a reason.
If you don't know PHP, then nothing. Wait for someone to fix it.
I do not know PHP, @cwps translated it. How should i proceed in this situation?
Actual and expected are swapped in PHP
Very fun kata!! Made me a little bit nostalgic :)
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)
typos corrected
Loading more items...