• ###### 0xdvcommented on "You are a Cube!" python solution

this kata makes me feel bad :(

• ###### Travalercommented on "Fake Binary" python solution

this is awesome

Nice one !

• ###### redkltcommented on "Fake Binary" python solution

This one actualy seems pretty good! But it also works without square brackets. So I really didn't get, what we use them for? Can someone please clarify this for me?

yes

• ###### WalerijBogdanowcommented on "Fake Binary" python solution

I think, this is the best (short and quick understanable) solution, just if you know what the "floor division" is!

• ###### akar-0commented on "Get the square of a number without ** or * or pow()" python solution

This code passes the tests.

• ###### xxk1ng0fh3artzxxcommented on "Get the square of a number without ** or * or pow()" python solution

This is literally the same code I came up with and kept failing due to not passing 50 char limit.

I had to forfeit eligibility just to to see this answer.

Went back in and it still fails.

Smh.

• ###### Haksellcommented on "Find all pairs" python solution

Yep, this is O(n²) for the reason you explained.
And I disagree with RazNaot, just because you can solve a problem inefficiently doesn't mean you should. The goal of this website is to improve at programming.

Good!

• ###### Mercy Madmaskcommented on "Santa's Naughty List" python solution

Using & operator with two sets creates a new set containing the elements present in both sets.

https://docs.python.org/3/library/stdtypes.html#set for more infos. :)

• ###### LofuFoxycommented on "Santa's Naughty List" python solution

This comment is hidden because it contains spoiler information about the solution

yes!

• ###### rahulprajapati44commented on "Count letters in string" python solution

You got advantage of dictionary duplicate updation behaviour .. good one

• ###### lexabugcommented on "Find all pairs" python solution

Oh, I see. Thank you.