27
Last seen 3 months ago
Member for 10 years, 4 months, 9 days
Difficulty Normal
Oct. 27, 2015, 11:20 a.m. | + 1 | for Comment siebenschlaefer: FYI: You could use `mask = 2 ** second.bit_length() - 1`. |
Feb. 22, 2015, 10:40 a.m. | + 1 | for Comment spoty: :))) Thanks for thoughtful introspection! These underscores, if you really don't need them, add unne... |
Jan. 19, 2015, 8:47 a.m. | + 1 | for Comment Sim0000: This is my code. I use str.format and zip. def homogenizer(*args): sorted_args = sorted(args, key=le... |
Oct. 18, 2014, 12:50 p.m. | + 1 | for Comment Termaji: Thanks for the comments. I will read the Style Guide for Python Code first and then use pep8online b... |
Oct. 16, 2014, 9:09 p.m. | + 1 | for Comment veky: That's true. :-) However, del communicates intent in the best way: you want to remove that element a... |
Sept. 28, 2014, 2:03 p.m. | + 1 | for Comment Sim0000: I give simple example. Suppose only 3 gifts are exists. We can achieve success probability > 1/3. Ou... |
July 6, 2014, 7:36 p.m. | + 1 | for Comment Sim0000: Thanks. But I don't see what the difference. |