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 know of one other which was the exact same length. what are the other ways tho?
EDIT: I found a way which is 1 char shorter
IDK if it was a joke, but there are 3 shorter ways to import.
my exact solution but i was golfing
This comment is hidden because it contains spoiler information about the solution
Humbled again.
No way -- no way.
This is just so neat
Before I read the comments here, I thought code wars was a bit laggy and wasn't displaying the complete code...
#11bfp_42v
python never ceases to amaze me
if price is zero then the result will be -1
that's what I was aiming for, couldnt get it in a one single line...
That is the solution in essence, but it is hard to read, not to mention that debugging is almost impossible as is.
Python is a very verbose and explicit language. We shouldn't neglect that in favor of shorter code, I think.
Great!
there's no need to think thatt much, but its good to know other solutions too ;-)
bruh is on another level, we cant beat him🔥🔥🔥.
Everyperson who saw your solution, i bet they come to comments section...🫣😂🤣
dat nga gotta chill
Loading more items...