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.
Same :) Do not worry, we will be there!)
try to find solution without prod() function.
How is this kata 5 kyu? doesn't make sense for a simple kata like this.
Ok thanks for clearing that up! I am not familiar with the differences on python versions since I just started learning Python a couple of weeks ago. I'll keep that double slash in mind for later. looks way cleaner.
If that's the only thing preventing your code to pass the kata, I'd create a
prod
function myself, try that, it's not that hard.It's not only this kata, Python 3.8 will be implemented, check here
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Okay, now I'm emberrased. My solution ended up at almost a million lines. This is way better.
Please make this Kata support Python 3.8
This comment is hidden because it contains spoiler information about the solution
Ended up with exactly the same solution. All in one line, but not the best considering readability imo.