57
veky
22 48 64 Leader of the month
44587/ 53887
Last seen 1 day 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
An orderly queue of one-smilicic
Nice and surprisingly readable. With all those actions, you're only missing some kind of Journal in your architecture. :-P More
Tail call division-smilicic
This is not a tail call. But you already know that. ;-) More
Now I have two problems-smilicic
Now you have two _languages_ that clash. Using % formatting could actually help readability here. ;-) More
wow-VladBark
20 is a magical constant. Much better would be to use `itertools.takewhile`. And x is _really_ slow. In fact it is used by some people as a trivial benchmark. :-) (Most famous example is probably [this one](https://www.youtube.com/watch?v=MCs5OvhV9S4).;) More
First-Undinushka 1
Don't you think your code could use some refactoring? :-) Also, everytime you write if condition: return True else: return False a little python dies. :-P More
my solution (quite long though)-quynhkhanh
About half of that length stems from keeping to the Pascal foolishness of a single return at the end of the function. Look: def checkio(words): words = words.split() for i in range(0, len(words) - 2): if words[i].isalpha() and words[i+1].isalpha() and words[i+2].isal More
Roman Numerals-surenz298 1
Aaargh. Semantically empty names (`newList`, seriously??), the code is _drowned_ in the sea of comments (those things are connected: if you chose more semantical names, you wouldn't need comments!), and most importantly, you're doing iteration wrong. for index in range(0, len(sequence)): ~~~ More
elegant solution-aksenof
You have a weird definition of "elegant". :-P More
Unitsphery classicism-smilicic 1
... a class which has three methods, one of which is `__init__`, and another one is a staticmethod. :-P Anyway, you can use OO as G-d* intended with a classmethod. @classmethod def from_geo(cls, geo_coords): ... return cls(*map(...)) *] G-d refers to Guido, of course. :-) More
Expert trying to teach Python style-veky
The title is the reference to [this solution](https://py.checkio.org/mission/number-radix/publications/johngraham/python-3/newbie-trying-to-learn-python-style/). More
The Most Wanted Letter needs sort-DillonKo
No it doesn't. It just needs max. ;-) More
Dillon's Even the last-DillonKo
Line 5: even index is not the same as even element. [x for i, x in enumerate(array) if not i%2] is what you probably meant. More
Damn Monkes-DillonKo
bools are ints! sum(1 for blah if spam) ~~~> sum(spam for blah) More
First-Kapsiaoloong
Nice variable names. Unfortunately, not much else nice can be said about the above code. More
That was a hard nut to break-Ribel
> That was a hard nut to break Well, I guess it depends on the [approach](https://www.youtube.com/watch?v=zknBWLBXWGs). :-D def checkio(number): rn, roman = 'M__ CDM XLC IVX'.split(), [] for digit, (one, five, ten) in zip(str(number).zfill(4), rn): numerals = ['', o More
This feels clunky--what can I improve?-rejexted
Many things. See my video reviews. :-D More
many loops and dumb labor-cougarmilk
You already know what Unicode is. :-) But that duplication above is really bad. :-/ More
Clear solution-ermichin158 1
Those semicolons randomly sprinkled through your code don't seem very clear. :-] More