57
veky
22 48 64 Leader of the month
44587/ 53887
Last seen 4 hours ago
Member for 11 years, 6 months, 7 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
Weak censorship-smilicic
`oneadd = True.__add__` is better. :-) More
Random fact: Abraham Lincoln was the first president to ever be photographed at his inauguration.-siebenschlaefer 1
There is really no reason for a separate function. Lines 10~22 should just be up there, instead of line 4. Also, instead of naming the result (with those unfortunate parentheses), it would be better to return it immediately. if f_result is g_result is None: return None, 'both_error' More
multi-line oneliners-dshorstein 1
First, `from string import ascii_uppercase as lnums`. Second, why specialcasing digits? (string.digits + string.ascii_uppercase).index(digit, 0, radix) More
one line in each function-dshorstein 1
It always fascinates me when people see one line where I see four. :-D Anyway, first, doesn't this code duplication make you nervous? :-P Second, why general **kwargs when you only need key? def max(*args, key=None): ... More
Standart Lib is my best friend ^_^-Columpio
You really like those parentheses, hm? 25% of them are unnecessary. :-D Fraction(1) is good enough. :-) And Fraction(dron, n) should be factored out. More
Stringly typed-veky 1
Inspired by [this](https://py.checkio.org/mission/funny-adding/publications/andrea.manno1/python-3/string_addition/#comment-49362). More
First-01011000
You don't need a comprehension. ''.join(ch for ch in text if ch.isupper()) More
First-jdrzaic
You're aware that you can use chr/ord (instead of str/int) uniformly for both coordinates? And when you look at it that way, that 4-way repetition really calls for a separate function, doesn't it? :-) def shift(character, offset=-1): return chr(ord(character) + offset) Also, `len([pos More
First-jdrzaic
It's much easier to sort inplace: `data.sort()`. Subtracting 1 only to add it 2 of 3 times when you use half_index doesn't seem like a good investment. :-o Also, don't use int(a/b), use a//b. First code leaves you at the mercy of C double arithmetic, second one is exact. >>> int(1234567890123 More
Very clear solution using sets-pepomes
Very clear? I don't really think so. :-o See [this](https://py.checkio.org/mission/calculate-islands/publications/veky/python-3/floodfill/?ordering=most_voted&filtering=all) for a few ideas. More
First-jdrzaic
Cool. You can spare yourself an additional check of "stack and" by putting a [lion in Cairo](https://py.checkio.org/mission/brackets/publications/veky/python-3/stack/share/9c7c708aa268a5130b5e5e0add474137/#comment-19012) first. ;-) And `not` bools its argument anyway, so `return not stack` is enoug More
First-SiLiKhon 3
Does np.array buy you anything at all? More
Brevity is the soul of wit-asmodeus_13 1
If you're going to be witty, at least do it in style. :-P The "normal", usual case is supposed to be the first (before `if`). The exceptional, "but in case" is supposed to be after the `else`. More
It took about a week.. It's difficult to me, but I did it)-asmodeus_13 1
Was [-1,0,1] too much to write, so you had to say range(-1,2)? :-) Also, `if rx or ry`. Also later, `if y`. Also yet later, `while islands`. Embrace the bool. ;-) Why do you give all of the queue to get_neighs, when it only needs the starting element? And then you have to `del` it afterwards. Much More
Second-Parzifal
Ok, you gave me -3 on my solution, so I go, "ok, this one obviously dislikes complex arithmetic, where multiple cases are brought together in one expression - fine, let's see how they did it". And in your "clear" solution, I find adding the quotient and the remainder of division together. :-O Such a More
Not the fastest, but clear-Kirill.Baranov
https://py.checkio.org/mission/find-sequence/publications/veky/python-3/not-the-longest-but-still-the-same/ :-P More
First-aklys
Would be much better if random was seeded so it gives the even number of petals. :-) More
Really?-carel.anthonissen 1
[Note the title](https://py.checkio.org/mission/funny-adding/publications/veky/python-3/o-rly/?ordering=most_voted&filtering=all). More
First - Really simple implementation using sets and frozensets-carel.anthonissen 1
Yes, that is a nice idea. But the implementation can be much nicer. :-) More
Timely Format-JaredGillespie
What do you think lines 4, 5 and 6 do? :-) Also, at the end, `' : '.join`. More