57
veky
22 48 64 Leader of the month
44583/ 53887
Last seen 12 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
First-k_dutch
functools.lru_cache does it all for you, and more. ;-) More
Using not any for each case-AdamSmasher
Hmm... (letter.isblah() for letter in data) ~~~> map(str.isblah, data) [call it `contains`] And that `if not somecond: return False` is much clearer written as just `return somecond`. return len(data) < 10 and contains(str.isupper) and contains(str.islower) and contains(str.isdigit) More
List comprehension, string method-Michael_Ivanets 1
Why `k` and `p`? And while we're at it, why `o` and `l`? :-O More
whatever-StefanPochmann 1
That max with 0 seems really ugly in a Clear solution... having another if would be too much for you? :-) More
Quasiperiodic-veky
The same as [Aperiodic](https://py.checkio.org/mission/periodic-table/publications/veky/python-3/aperiodic/), only readable. :-D If you ever wanted to see how that one worked, but didn't have courage to tackle it. :-] More
Fake Newb!-StefanPochmann 1
Ah. Sneaky. :-P Nice exploit of a security hole of MHSB. :-D More
First-k_dutch
The goggles, they do nothing! The brackets, they do everything! :-O :-P More
NIce-Chocolater 1
Sometimes it is easier to use a full generator instead of expression. :-) More
List.pop()-BAov 3
A nice puzzle: can you explain why data[-1] += data.pop() doesn't work the same? And why does it work the way it does? :-) More
Recursion-PythonWithPI
Please don't use empty except. More
First-Villentre
Using floordiv would probably be better: 73 // 3. More
Clean and fast-mastak
At the end, just `return not stack`. And ALL_SYMBOLS, while you're chaining, could use chain.from_iterable(SYMBOLS.items()) :-) More
The shortest-duketemon 1
Shortest? You must be joking. :-P More
First-Bugamed
Unpack, don't index! for file, rank in pawns: for neighbor in neighbors[file]: above = str(int(rank) - 1) if neighbor + above in pawns: More
Try Class + veky's help-Nep 1
[Now your class has two methods, one of which is `__init__`.](https://youtu.be/o9pEzgHorH0?t=460) (And the other method is not even named `call` --- it is in fact a `staticmethod`.:-P) Please don't do this. (And please watch the whole video if you're not convinced.) Functions are fine without mean More
fuuuuu-Kaash
OMG. Now I learned Python functions can have OUTPUT arguments too. :-D More
I dont like it. Too coupled to tests.-zgoldstein 1
By "it" you mean the mission, or your solution? :-) More
13-liner: pop-przemyslaw.daniel
It's very awkward how you handle the case when item is a number. I really think it is convoluted code. More
Gödel-Gentzen-veky
The rub is that there is another negation, inside \D. :-) More
First-avalon3515 1
`not` is a useful keyword. ;-) More