• goldenratio161commented on "Most common first" python solution

to be clear, this is not the best solution as it uses O(n^2 log n) time; Blind4Basics solution is better.

• 4Philecommented on "Row Weights" python solution

Double is used for slicing not indexing

• Owen96commented on "Wilson primes" python solution

Only way to avoid a timeout. What a dumpster-tier kata. Embarrassing for the creator.

wow!

• babodohyuncommented on "Lost number in number sequence" python solution

wow how i couldn't think this way ;)

it's very simple idea and clear, big thanks

• WizardDogecommented on "FIXME: Replace all dots" python solution

to be fair, he fixed the code. It was never specified to to keep use the same module

• akar-0commented on "Replace letters" python solution

Just make a research with the names of the methods you don't know and you should find all the informations about it.

• AbsurdAFcommented on "Replace letters" python solution

Someone can explain me this please? ^^

• akar-0commented on "Replace letters" python solution

It's a solution of a programmer knowing his language.

• mishagrehcommented on "Replace letters" python solution

12 Best practices and 18 Clever votes
don't you think this is a typewriter operator, not a programmer, solution?

• RileyHuntercommented on "101 Dalmatians - squash the bugs, not the dogs!" python solution

No, it doesn't.

Here's a profile of running this problem 10 million times with an if/if/if solution versus an if/elif/else solution:

``````if_if_if completed 10000000 iterations
Sum time: 5684.13ms
Mean time: 568.41ns
Standard deviation: 1684.53ns

if_elif_else completed 10000000 iterations
Sum time: 5685.18ms
Mean time: 568.52ns
Standard deviation: 1642.49ns
``````

Even if it did, if you care about nanoseconds you shouldn't be choosing different flow control syntax in Python, you should be choosing a different language.

• WildRosesOWcommented on "101 Dalmatians - squash the bugs, not the dogs!" python solution

if elif else statement works faster than if if if

• jered893rcommented on "Replace letters" python solution

rly? well, maybe it's clever but not sophisticated.

• stearzcommented on "Replace letters" python solution

Oh boy. I really need to take a closer look to the built-in methods.
This is so obvious and I wrote like a mile of code. - Thank you for this solution.

• sm3rphcommented on "Filter out the geese" python solution

Find the unnecessary space...