7
Last seen 6 years ago
Member for 6 years, 11 months, 17 days
Difficulty Normal
What is the purpose of list() here? If I were reading it straight out I would think it would work with just join(filter())
More
What is the purpose of the "sub for sub" part? I would have thought it would work with just "for sub".
More
Very cool. Would it be more resource intensive to do it this way ("if i != 0"), or to just replace the zeros with "" from the product of join()?
More
Important note here: https://py.checkio.org/mission/number-radix/publications/veky/python-3/hinted/share/8da2e6d92d35d3efa165fc7617073cbc/#comment-21974
More
What is the official criterion for this category? I would think ad hoc fixes are no good, right?
More
Wow, this made me realize just how many logical assumptions I made in my solution. Very creative!
More
I had found:
binN = "{0:08b}".format(n)
binM = "{0:08b}".format(m)
in order to make them the same length. Would that work?
More
abs() is documented with one non-optional argument. In what other contexts can that argument be omitted?
More