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
is groupMapReduce() a new thing ?
migraine ensuing
Succinctness of Python never ceases to amaze.
Needs updating to Scala 3, and to use toplevel method declaration.
The result can be a float but nowhere does it say the input will be a float
3 reasons why I think this approach should not be encouraged and should have 0 on Best Practices:
eval()
can be dagerous, especially if the input comes from an untrusted source. It can execute arbitrary code, leading to potential security vulnerabilities.eval()
can be slower than direct operations due to the overhead of parsing and interpreting the string.blue_pulled and red_pulled are always lower than the blue_start and red_start (as per problem definition).
This is beautiful
Damn, this has to be best practice - a one-liner, readable and efficient to boot! Learned something new today.
Fixed.
f meams that it is f-string and all variabels in it convert to string
damnnn
#11bfr_42x
there are so many ways to solve a problem with python . nice solution .
This comment is hidden because it contains spoiler information about the solution
Loading more items...