32
Artur Alexandrov
Last seen 25 days ago
Member for 1 year, 6 months, 19 days
Difficulty Easy
Yes, it's very useful to look into the docs one more time and to learn about not very common, but sometimes very useful alternative parameters, even of the simple functions like int(). Well done.
More
Oh, it's such an elegant solution, using orderedDict from collections library. Well done.
More
Nice, clear and readable solution, using combination of list comprehension and groupby method from itertools library. Well done.
More
It's a very appropriate use of try\except block for solving this task, really helps you to avoid unnecessary if\else blocks at all. Well done.
More
Maybe it is too complicated to use ord() function for checking digits in string, instead there is a str.isdigit() method, but nevertheless rather unsusal solution.
More
Oh, it's a very interesting combination of two libraries. Of course, reduce is very common when you need to transform lots of values to one single value, but mul function instead of lambda is rather creative.
More
Oh, lamda inside another lambda)) Not an easy solution to grasp at first, but it looks very compact.
More
So, quite readable solution. I've solved this task using the same logic.
More
Very good solution, using sum of arithmetic progression, I suppose.
More
You can just write with one single line:
return len(password) > 6 without if/else clause, but it's OK.
More
It is a really nice implementation of the Counter method from the collections library. Well done.
More
Oh, it's quite elegant and smart to use divmod function for solving this task. Brilliantly done.
More
It's a very creative solution, using combination of list comprehension and maybe the most common method from collections library. Well done!
More