21
dx2-66
5 21 34
2398/ 2695
Максим Эмбаухов
Last seen 1 month ago
Member for 2 years, 5 months, 4 days
Difficulty Normal
Best reviews / Newest reviews
compressed-juestr 1
Nice, I thought of a comprehension with join but could not make it work. Using compress() instead makes it real easy. More
without bool-cardinalus 1
It was quite shocking to find out IEEE 754 recommends 0 ** 0 to be 1. More
Fizz Buzz-lxf42 1 1
Pretty short action mapping but I wonder if you can get rid of nested checking somehow... So far the best I though of was: def checkio(number: int) -> str: s = list(filter(lambda x: not number %x[0], FB.items())) + [(0, str(number))] return s[0][1] But perhaps you could do bet More
First-altermaRRin 1
What's the point of putting int() with no side effects there? More
First-593742146
Pretty fun condition, though I assume that doubles the execution time. More
Trivial-amandel
That's a rather witty shortcut around using `not`. More
First | this is first line for me in python-MaHDiaLaGaB
How's that kind of type annotation even legal? It does nothing apparently anyway. More
First-naibaf56
Why wouldn't you initialize it as tuple in the first place? More
2-liner: Fizz % Buzz -przemyslaw.daniel
int() may be omitted 2*(not n%5)+(not n%3) should also work, but might be version dependent.., More
Roman -Damian_Horna
Could've wrapped it in a for loop, really :3 More
any isdigit len map str-bykov.dmitry.nn
I should use any(map()) more often... More