40
Awesome Team
Alexander Lyabah
http://www.checkio.org/user/oduvan/
Last seen 1 day ago
Member for 13 years, 10 months, 8 days
Difficulty Easy
love it!
so many likes. I hope people will also check [our article about f-string](https://py.checkio.org/blog/pep-498-f-strings-python-36/).
More
"Harder, Better, Faster, Stronger" - Daft Punk
"Harder, smaller, shorter" - Veky :)
More
Just today I was thinking.. maybe we should make one more funny mission? :)
More
If I get this code for a production solution, I would ask to refactor it.
More
a video code review from @veky
https://www.youtube.com/watch?v=bAea_X5cCJo
More
[Here](https://py.checkio.org/mission/is-even/publications/eugene100372/python-3/first/share/e2ea5c7705f3512261cb241b44526770/#comment-116766) I've explained how `%` works
Operator `not` first converts int to bool...
* 0 = False
* any non-zero value = True
... then inverts
* True = False
* Fals
More
A case where solution to the puzzle is harder than the puzzle itself :)
More
solution's name looks like a new programming language. You can call it CiO-Spoiler :)
More
we should make a video code review around Funny Addition some time :) should be interesting :)
More
I feel like Python should have something built-in for compose function. I'll try to find. :)
More
I think having a simple marker `is_abs` can replaces lines 2 and 9 by:
is_abs = path.startswith('/')
if is_abs: return '/'
More
немного можно преобразовать.
Во-первых можно сделать так, что если длинна меньше указанной, то просто вернуть False, тогда будет меньше отступов:
def checkio(data: str) -> bool:
if len(data) < 10:
return False
if data.isdigit():
return False
More