21
igharok
5 18 41
2436/ 2695
Last seen 2 days ago
Member for 5 years, 3 months, 28 days
Difficulty Advanced
Best reviews / Newest reviews
str.split(sep=' ')-David_Jones 6 1
Great! But how does _join()_ manage to insert needed spase quantity? The question is about the case backward_string_by_word('hello world') More
Second-eugene100372 5
The most pythonic solution, as for me, thanks! More
Words Order-vvm70 3
Great solution! Inner list to save the original order, dictionary to avoid repeating words. Thanks! More
ℤ ≅ ℕ × bool-veky 2 1
Great trick with boolean as second sorting factor, thanks! More
Geometric solution-martin_b 2 2
Very interesting approach - the real alternative to the brute force double loop More
With fractions module-Phil15 1 1
So here I am for learning **_fractions_** :) More
split with regexp-tokyoamado 1
Great trick with using itertools for justifying More
A simple complex mapping.-veky 1
Clear and a couple of tricks to learn, as usual More
"The Vampires"-FUbaer 1
Great job with by-line comments, thanks for your time! More
First-eugene100372 1
Great trick with multiplication, thanks! More
First-saklar13 1
Thanks for **saklar13**, **metallidog** and **veky** for solution and improvements! More
Clock Angle-vinc 1
Cool trick to avoid min() More
split() & Slice-victor1305 1 1
You have a lot things to optimize here: 1) **range(0, len(textList))** ~ **range(len(textList))** 2) you mix **while** and **for** loop ways 3) you don't really need to manual loop managing and should use construction like: _for i_text in text_list:_ More
First-Oleg_Levonjuk 1
Thanks for your solution, but in fact you don't really need to dissect all the date and don't need to keep a day as a datetime.day. It's enough to aggregate data by first ten symbols substring. More
First-jusha 1
Some improvements could be done: 1) split instead of slicing 2) mod operation (%) instead of if else construction for h 3) min(alpha, 360 - alpha) instead of if else construction for return More
functional, minimized while still readable-juestr 1
Nothing to add: functional, minimized while still readable More
First-zinryu 1
Clear. The alternative is _filter(str.isupper, text)_ More
First-dis.xcom 1 1
Clear, thanks! One mention: you can use _text.split(begin)[-1]_ instead of block: _if pos_begin != -1: text = text.split(begin)[1]_ P.S. I've learned it from this mission :) More
filter end>begin-shenghanteng 1
Great way to avoid searching and adding len(begin) More
First-Oksana_Antropova 1
Thanks for introduction to Python OOP approach More
1
2 3 4