40
Awesome Team
Alexander Lyabah
http://www.checkio.org/user/oduvan/
Last seen 1 day ago
Member for 13 years, 10 months, 22 days
Difficulty Easy
love it!
line 7-9: you can do substring check using operator `in`
>>> 'are' in 'aresjfhdskfhskd'
True
More
this is weird. Max and min functions are so different.
More
I wouldn't say this is a very fast way to solve. You should go through all the elements of instructions 4 times.
More
я бы `text.find(begin)` и `text.find(end)` сохранил в отдельную переменную, а ты то пересчитываешь это слишком часто.
а еще, для проверки наличия символа в строке можно просто использовать оператор **in** вместо метода **find**
More