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

Best reviews / Newest reviews
First-Sara_Pinela 1
Sara, same as your friend. You are using too many scopes. Not all of those are necessary. this is one of the thing that makes Python beautiful. More
First-altarfinch
well.. I must say this one res, sum, i = res + [k], sum + k, i + 1 looks odd :) More
3 strings for understanding-voloch
should be __new_arr__ instead of __newArr__ ... PS: You love spaces, right? More
First-SmotheringMax
I would give a longer name for __w__ More
transform and compare-y3g0r 2
Here you assume that you have many arguments *args and here for arg in args but than you say there are only two a, b = and here a == b which doesn't make sense. Why don't you go farther? tr_args = ["".join( return len(set(the_list))==1 More
First-Villentre
You add extra tests for extra function! I love it :) More
©_©-blankplank 1
This is like a smile-collection here https://py.checkio.org/user/blankplank/solutions/ :) More
First-5cr3am1ng50ul
I think instead of int(len(data) / 2 - 1) you can do len(data) // 2 - 1 More
First-navya.gottimukkala
You dont need brackets in line 2 More
First-Ingvar
Хорошо. Попробуй решить без использования X и Z переменных More
First-fomenbox 1
Как вариант к улучшению Если первое условие заканчивается на `return` то `else` можно не использовать. Поэтому решение можно переписать так if text.count(symbol) < 2: return None x = text.index(symbol) + 1 return text.index(symbol,x) понимаешь почему? More
First-aplusinstrument 1
немного по условиям еще подсказка return None можно просто заменить на return а условия можно просто объединить через `or` итого это if text.find(symbol) == -1: return None if text.count(symbol) == 1: return None можно заменить на if text.find(symbol) More
First-Ingvar
Попробуй еще сделать вариант, где мы проверяем в начале, что есть 2 символа и тогда уже делаем все необходимые вычисления. More
First-alena.tigova
text.split(symbol) используется 3 раза. Действительно имеет смысл задуматься о том, чтобы сделать отдельную переменную для этого. More
First-alena.tigova
все power = могут быть заменены на return More
First-okaoka0523
if condition: return True else: return False is the same as return condition or return bool(condition) More
First-Oleksandr_Zaliskyi
Well, it might be sometime confusing that text1 and text2 are not even strings More
My First - Why Should We Use Module Time?-d_rabenko
line 3: do we really? really-really wants to use _ as a variable name? More
First-sv.pero
line 2: `if int(num) != 0` is the same as `if int(num)` More
First-alena.tigova 1
в третьей строке тебе не надо приводить использовать функцию list. Понимаешь почему? More
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
16