40
Awesome Team
Alexander Lyabah
http://www.checkio.org/user/oduvan/
Last seen 14 hours ago
Member for 13 years, 10 months, 23 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
If I get this code for a production solution, I would ask to refactor it.
More
Just today I was thinking.. maybe we should make one more funny mission? :)
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
we should make a video code review around Funny Addition some time :) should be interesting :)
More
solution's name looks like a new programming language. You can call it CiO-Spoiler :)
More
A case where solution to the puzzle is harder than the puzzle itself :)
More
you don't need variable new_string. How to solve this problem without this
variable?
More
too many tabs. Same solution but without that many tabs:
def end_zeros(num: int) -> int:
if num == 0:
return 1
if num < 9:
return 0
x = num
y = 0
while x > 9 and x % 10 == 0:
y += 1
x
More
I feel like Python should have something built-in for compose function. I'll try to find. :)
More