12
grigoriytretyakov
2 9 19
689/ 745
Grigoriy Tretyakov http://tinycode.ru/
Last seen 4 years ago
Member for 11 years, 5 months, 19 days
Difficulty Normal
Python web developer.

Best reviews / Newest reviews
second-studioj 1
Why you make a copy of original sequence and also sort it? It make your code work longer than it can be. BTW in python you can swap elements in list like this: arr[i], arr[i + 1] = arr[i + 1], arr[i] with no temp variable. More
First-narumi.kano.3 1
Why 'eval'? Is it really good way? More
First-ragnarokPP
You don't need to convert set to list every time, instead you can simply iterate through set. More
First-bundgaard
bin already returns you have no needs to convert it. More
First-pynathan
You can use only return sorted(first) == sorted(second) it will return bool More
First-BaconofTroy 2
Hi, maybe using string.digits, string.ascii_lowercase solution would be better and simplier? More
First-paraymond
OMG, I cannot imagine anybody could solve it by regexp. > Some people, when confronted with a problem, think > “I know, I'll use regular expressions.” Now they have two problems. More
Two Lines-zero_loss
It's a 3 lines actually, you just don't type enter after ':'. If you truly need a one or two line, you can do this: checkio = lambda *args: float(max(args)) - float(min(args)) if len(args) > 1 else 0 or def checkio(*args): return float(max(args)) - float(min(args)) if len(args) > More
First-Pospyrus
[Stop writing classes](http://www.youtube.com/watch?v=o9pEzgHorH0) Do you really need a class here? More