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 comment is hidden because it contains spoiler information about the solution
It does. Print in Python automatically adds a newline at the end by default. But it also works without a newline, because the author calls .splitlines() on the output anyway.
And it's possible without *args because the author, for whatever reason, always calls the function statically with one argument.
TIL
This comment is hidden because it contains spoiler information about the solution
thanks!
It's a chatgpt answer
This comment is hidden because it contains spoiler information about the solution
If you're gonna brag, at least have a solution better than
O(n ^ 2)
.Still readable though, pretty sure it is not yet the shortest answer
Because it's python lol. If something can be written in one function, why not? :D
Use spoiler flag next time please. Your post was visible in the homepage.
This comment is hidden because it contains spoiler information about the solution
you are right, admins should make it so:
if kata == beginner and kata_line_of_code_amount >= 30:
return(not_eligible_for_best_practices)
I think he's trolling too. He's a good troll, because it takes so much free time to write this code.=))))
coz funny
Loading more items...