This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = bin(999999999) | |
temp = [] | |
for i, v in enumerate(a): | |
if v == 1: | |
temp.append(i) | |
print temp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[22:18:32] <@BFB> I linked that to you months ago. | |
[22:18:39] <cmr> I know | |
[22:18:48] <cmr> And I'm relinking it to you, and it will be stuck in your head for weeks | |
[22:18:50] <cmr> Muahahah | |
[22:18:55] <@BFB> Simpler times. | |
[22:18:59] <@BFB> Before the police. | |
[22:19:04] <@BFB> Before Sarah. | |
[22:19:14] <cmr> Before the fire nation attacked | |
[22:19:42] <@BFB> LOL |