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.
This kata should be renamed 'time machine stock billionaire' for more flare.
I was also bothered by it at first, but the truth is that a task is offered here, no matter what the story is around it. Often the background plays a role, but sometimes actually not. And this can be seen as such and is part of the training to recognize it as such. That's how i try to see it. You can also see that the author just tried to package it nicely for us, or I can imagine that banks want to have such programs purely for statistical reasons and not for the development of investment strategies? Would be even logical. Of course, after a week of e.g. share trading and not in advance.
Whereby something like this could be used for setting and calculating stop-loss orders - something like this really exists btw.
https://docs.python.org/3/library/math.html#math.pow
Remove print statements and it will pass... There's no magic here.
Well, if you can't reproduce the code in question, a question remains as to whether that same code worked with all the print statements in place (because that's what causes a buffer error as detailed by @natan). So, do you remember removing the print statements before re-running the code?
If you mean
Max Buffer Size Reached (1.5 MiB)
Then you're writing too much output.
Can you please give an example of code that behaves in this way?