Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
EN
Give the opportunity to vote against the decision (thumbs down)
RU
Дайте возможность голосовать против решения (палец вниз)
EN
I don't like when there are many returns. I decided the same but with one return.
RU
Мне не нравится, когда много возвратов. Я решил так же, но с одним возвратом.
EN
This kata should be minimum 6, if not 5
RU
Эта ката должна быть минимум 6, если не 5
EN
minimum 6, if not 5
RU
минимум 6, если не 5
главное что задача решена) хотя конечно мое решение намного хуже этого
En
The developers of this site need to add not only "like" but also "dislike" in the "best practices" section so that such code does not end up in the "best practices".
RU
Разработчикам этого сайта надо добавить не только "нравится" но и "не нравится" в разделе "лучшие практики", чтобы подобный код не попадал в "лучшие практики".
This comment is hidden because it contains spoiler information about the solution
EN
On each iteration you call the method lower(). This happens 26 times.
It's better to do this once before the loop and save it in a variable, and then access it.
RU
На каждой итерации вы вызываете метод lower(). Это происходит 26 раз.
Лучше сделать это один раз перед циклом и сохранить в переменной, а затем обращаться к ней.
EN
It's good that you clearly pointed out the error.
RU
Хорошо, что вы четко указали на ошибку.
EN
The site developers should make a "dislike" button for "best practice" and "clever"
RU
Разработчики сайта должны сделать кнопку "не нравится" для "лучшей практики" и "креативный"
This comment is hidden because it contains spoiler information about the solution
Про сравнение в Python написал выше.
This comment is hidden because it contains spoiler information about the solution
EN
Cool, this is a cool way to replace characters in a string, as str.replace() but several at once
RU
Круто, это классный способ замены символов в строке, как str.replace() но сразу несколько
RU
Я так не думаю. 2 раза пробегать по длинному списку это плохо.
Loading more items...