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 collection data...
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...