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

Best reviews / Newest reviews
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-alena.tigova
1. Что такое 26? 2. Попробуй это решить без использования set 3. Пробелы между операторами это все еще круто :) More
First-rikiriki
[sorted](https://docs.python.org/3/library/functions.html#sorted) function has an attribute reverse . More
First-ymraintree 1
Python is very smart :) line 8 can be: if w in result: result[w] += 1 More
First-ikkkb 1
Not a very effective, but definitely very interesting and educational. :) Thank you. 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
All the Same-c135260 1
line 5 can be simpler, without using True and False. How? More
So simple...-Phil15 1
I wouldn't say this is a very fast way to solve. You should go through all the elements of instructions 4 times. More
.format()-brankovicmilos
you don't need to use str function here. More
First-d4l
line 6: should it be 2 instead of 1? More
The shortest-MrPod 1
wana go with Creative category? More
First-likewind
line 10-12: can be replaced by: return n == len(elements) More
First-sv.pero
line 3: You might want to use text.replace instead of word.strip More
First-sv.pero
it is better to use replace here More
1 2 3 4 5 6
7
8 9 10 11 12 13 14 15 16