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.
Thinking outside of the box and change the rule of this puzzle with this clever trick! Well done!
Haha I was joking that I didn't realize there was an IPAdress class we could use. This is the best solution hands down.
There were no restrictions in the conditions ¯\(ツ)/¯
Oh come on.....
This comment is hidden because it contains spoiler information about the solution
Need better tests as others said and I really dislike the class without an interface for the Mock implementation, the code should provide us with an interface (pretty much what you wrote on the description) and the user should be forced to implement a mock version (and if he wants a real one too). The tests should verify that it all works.
I had a lot of trouble getting to this one liner. No resharper in python haha. I was writing in the editor bit by bit and printing it out. Plus I had trouble with the function name.