40
oduvan
15 34 57
10059/ 10664
Last seen 23 hours ago
Member for 13 years, 10 months, 21 days
Difficulty Easy
love it!

Best reviews / Newest reviews
First-maja.minnaert 1
too many tabs. Same solution but without that many tabs: def end_zeros(num: int) -> int: if num == 0: return 1 if num < 9: return 0 x = num y = 0 while x > 9 and x % 10 == 0: y += 1 x More
Composition of Functions-flpo 1 1
I feel like Python should have something built-in for compose function. I'll try to find. :) More
First-Alex_Rybalka 1 1
на что хочется обратить внимание - такая запись: if 'help' in subj or 'urgent' in subj or 'asap' in subj: return True немного более понятная чем такая: if subj.find('help') != -1 or subj.find('urgent') != -1 or subj.find('asap') != -1: return True More
First-Wartem 1
re is too much here :) But I like it More
Clear-LAyer_8 1 1
I think those two functions have something in common :) Line 3: I think you don't need function list here More
"Non-unique Elements"-RockeyDon 1 1
line2: if you change -1 to 1 it will work anyway. Do you know why? More
"Monkey Typing"-RockeyDon 1
line3: you don't need to use function list More
First-Marshall00 1
you don't need to use `else` here More
First (='ω'=)-Magu 1 1
good, except you don't need square brackets in sum. So you work with generator instead of list comprehension More
Binary count-AleksandrKasianov 1
I've just found out that definition of `str.count` is different than `list.count` >>> help(list.count) count(...) L.count(value) -> integer -- return number of occurrences of value >>> help(str.count) count(...) S.count(sub[, start[, end]]) -> int More
Workhorse-veky 1 1
Thank you @veky, this is something new for me today https://docs.python.org/3/library/contextlib.html#contextlib.suppress More
First-eugene100372 1
The % does two things, depending on its arguments. In this case, it acts as the modulo operator, meaning when its arguments are numbers, it divides the first by the second and returns the remainder. `34 % 10 == 4` since 34 divided by 10 is three, with a remainder of four. More
First-fomenbox 1
Отличное решение. ) перед .split не надо. More
Really short-panki 1
it's time to add this task in RegEx section :) More
First-fomenbox 1
Супер! Только не стесняйся использовать более осмысленные имена переменных. Тогда код будет чуть легче читаем * vowels * consonants * words More
alexgerdom's one-linerized-suic 1
:) now we should have "3rd party Creative" category More
First-Merzix 1 1
I've sorted sailors before using in my speedy solution :) More
First-BrianMcleod 1
condition at line 2 can be simple `'#' in plan` More
re.sub-Sim0000 1
I think I saw something like this already, but instead of your like 6 it was replace expression. More
re.sub-Sim0000 1 1
Wow, now I learn "nonlocal" function More
1 2
3
4 5 6 7 8 9 10 11 12 13 14 15 16