30
Pactp
13 26 41 Leader of the month
4728/ 5195
Pactp
Last seen 2 months ago
Member for 1 year, 2 months, 10 days
Difficulty Easy
Best reviews / Newest reviews
the detailed way-mu_py 1 1
Clear and simple solution. How about check for "non digit"? if 0 <= digit < radix: More
Pythonic-CDG.Axel 1
Nice and clean map and filter usage. More
re and maketrans-kdim 1
Nice solution. Very good usage of “maketrans”! More
First-mini.maus87 1 1
nice solution, but it does not work on: assert cut_sentence("Hi my name is mystery", 16) == "Hi my name is..." More
Literal-veky 1
Nice onliner. Clear and smart. More
First-kisungch 1 1
Nice onliner. Clear and clean. More
Forth - Reduce-freeman_lex 1
Reduce max to reduce, nice trick! More
One liner - "for in if"-CDG.Axel 1 2
nice & clear list comprehension can be changed to generator More
try return slice except-Phil15
* Try + slice * Looking nice ) More
First-aureooms
Nice abstract solution! It can be easily modified for NxN tableau and for 3D variant :). More
First-Hille
Clear and simple solution. Nice idea with output list. More
One line-lucas.stonedrake
good oneliner, it seems this would be a bit simpler return (first in word) and word.find(first) + 1 == word.find(second) More
First-Ash72
clear, you can reduce in return condition j >= 0 More
Annotated Goes Right After Solutions-BootzenKatzen
a batch of solutions, very impressive ) More
3th-Crachton
Simple, nice and short. It's easy to convert it to oneliner: long_repeat = lambda s: max(len(list(g)) for _,g in groupby(s))if s else 0 More
4th-gyahun_dash
Nice trick. One line solution with re. More
First-learn-python
How about excluding division: items.count(True)*2 > len(items) More
Itertools.chain zip and count-lezeroq
Nice, short and clear enough to illustrate chain & zip usage More
First-gyahun_dash
Nice solution. Clear names and clear set handling. Thank you More
1
2