16
Denis_Gerashchenko
2 14 32
1187/ 1445
Last seen 4 years ago
Member for 5 years, 6 months, 29 days
Difficulty Normal
Best reviews / Newest reviews
(-items.count(x), items.index(x))-flpo 1 1
I wonder how does this sorting works? How does it possible to sort a list with a key - lambda expression that returns a tuple for each element? More
intersection, issubset, union-kurosawa4434 1 1
Hello, I like your solution but I have got troubles to understand this part: d1 = list(filter(lambda n: lit_left <= n <= lit_left | broken_left, NUMS)) d2 = list(filter(lambda n: lit_right <= n <= lit_right | broken_right, NUMS)) I wonder if you might be able to help me understand how your More
Simple - 15 lines-thealfest1 1
Recursion is a good tool for this mission. I have did something similar here [Recursive scan](https://py.checkio.org/mission/calculate-islands/publications/Denis_Gerashchenko/python-3/recursive-scanning/) More
ก็็็็็็็็็็็็็ʕ•͡ᴥ•ʔ ก้้้้้้้้้้้-vmiimu 1 1
As I heard from Socratica channel, oneliners are interesting to write but less fun to read More
First-vit.aborigen 1 1
Clear one, but maybe it's a better choice to use the readable variable names? Like a 'character' instead of a char and a 'count' instead of a cnt. More
First-eugene100372
It's nice and clear. Looks exactly as I wanted to solve it before laziness got me and I googled ready solution just not to type the formulas in an editor xD More
First-brownie57
It's clear, but It would be better with readable variable names More
First-cs1g
Interesting solution. I like it More
Re-ayubutrym
I think that regex is always a good tool for any conversions More
Bunny's simplified-nickie
I like it. It looks as good as I wanted for mine solution. More
text.endswith()-yazidninsalam
It's nice and clear. Mine first solution was waaaaay more complicated and stupid. More
First-jcg
Very readable and we'll documented. I can read this like a blog post More
First-DenysChy 1
It's not common to use divmod here More
|—O—|-vmiimu
It looks much better with lambda More
First-martin21eden
An interesting one with list comprehension More
recursive, but I wish I understood how to use *unpacking-UpwardTrajectory
I know about this unpacking # Function argument unpacking def myfunc(x, y, z): print(x, y, z) tuple_vec = (1, 0, 1) dict_vec = {'x': 1, 'y': 0, 'z': 1} myfunc(*tuple_vec) 1, 0, 1 myfunc(**dict_vec) 1, 0, 1 More