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.
I agree with this person. It is very easy to read the problem as treating the two string separately, and returning the resulting string that is longer.
Please consider rephrasing the prompt. I was able to figure out how to fix my issues after visiting the comment section and realizing I was interpreting the prompt incorrectly.
Sorry, it's not a kata problem but a flaw in your code. Print the input to see what happens.
Can you prove this is an issue with the tests and not your own code? The submission tests are broader than the sample tests. It seems more likely that your code isn't handling one of the submission tests properly -- check the provided input by
print
ing it to the console.This comment is hidden because it contains spoiler information about the solution
I'm passing all tests except the three you mentioned. Any tips?
algebra
k = total/n
I cannot figure out how to calculate k.
Took some unnecessary extra steps here, still, nothing in intelectually more satisfactory than resolving a recursion problem.
Hi @jpchato, it's not an issue with the kata. Your code is outputting too much to the console, so just silence your print statements.
Passing all tests but getting this error when I try to submit:
"STDERR
Max Buffer Size Reached (1.5 MiB)"
Solving with Python, please assist