57
veky
22 48 64 Leader of the month
44584/ 53887
Last seen 21 hours ago
Member for 11 years, 6 months, 6 days
Difficulty Advanced
We shall not cease from exploration, and the end of all our exploring will be to arrive where we started and know the place for the first time.

Best reviews / Newest reviews
Three words-Andrii_Veselov
What do you think lines 13~17 accomplish? I'm quite sure you're wrong. :-] More
life is pain-Keisuki
... and so is your solution. :-P More
First-shunsk2017 1
Aaargh! :-D If this wasn't in Clear, I'd even give you a few thumbs. ;-P More
Rename and reuse-veky 1
Why can't I use a magical super inside lambda? :-/ :-D More
by turning into a list and using indexes-BeginBye
Very inovative, but surely not clear. And it's not that you actually gain anything: since you have to calculate and compare distances for two neighboring items, you could just calculate and compare them for all items. You'd have a linear algorithmic instead of linearithmic sorting one. :-9 More
Short and clear-Merzix
You have a weird definition of short. :-D And 'clear' could also be discussed... taking a simple and intention-clear expression `a ^ b <= c` and naming it `get_count(a, b)` (`get` is a nonword for function names, `count` is surely completely orthogonal to what the function does) is really head-scra More
If, if, and if-Cya
Nice (though could be simpler, of course), but the asymmetry between handling hour and minute (oops, time[1]:) is kinda odd. I think better would be hour, minute = map(int, time.split(':', 1)) More
digital clocks are easy to read. Are they not?!-niilz
They surely are. But you succeeded in making it very complicated. :-] More
You keep using that word.-veky 1
I do not think it means what you think it means. More
[15-lines] Timing a single recursive DFS-Phil15 1
It would be an interesting idea to actually use `time.monotonic` for this. :-D More
When complex numbers makes things simplier-Ylliw
Complex is better than complicated. More
Nested ifs instead of regex-hallux 1
There are other ways besides the regex. 🤓 More
Find palindrome for 196-kudinov.feodor
A nice idea, but it really can be solved much more Pythonically. At least you should factor out reversing the number. More
Counter + sum -> one-liner-DenisKnyazev
Wouldn't [x] * f for x, f in items be nicer than that horrible indexing? :] More
Myopic :-(-veky
An interesting question: why are parentheses needed? A more interesting question: were they needed in all previous versions of Python? ;-) More
Nested is faster than flat.-veky 1
Of course, the len checking can be done in the same way, at the expense of blowing up the code by a factor of at least 2. But that's even more wrong than this. :-D More
Scoped-veky 1
Which digit is used at the end of line 6? :-) More
The BEST solution (I could come up with)-Ulukai85 1
Nice overall idea, but too complicated. tried is completely unnecessary, for example, since base is never decreased. [Here](https://py.checkio.org/mission/checking-perfect-power/publications/veky/python-3/catalan-and-three-bears/) is your solution without unnecessary details. :) More
First-Fedorovich
You can chain comparisons. if number % 3 == number % 5 == 0: Nice to know but not really needed: you can use not % without parentheses (as opposed to C). if not number % 3: More
First-Fedorovich 1
_Why_ did you think you needed line 2? You Py2 folks are so obsessed with lists, it blows my mind. :-D Also, line 4 is just "if args:". And you don't need () after return. More