Created
May 12, 2016 13:55
-
-
Save beefy/54f67014886021d2e0b5f54c7e1142e1 to your computer and use it in GitHub Desktop.
A small python script that will crash your computer (not tested thoroughly)
This file contains 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
import itertools | |
for a,b,c in itertools.product(itertools.count(0),xrange(0,10),xrange(0,10)): | |
print a,b,c | |
if a > 20: break |
poop
from itertools import count as crash
list(crash(0))
Achieves the same I think.
dosnt work for me
fuckkkkkkkkkkkkkkkkkkkkkk youuuuuuuuuuuuuuuuu 🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣
This is perfect
Bro it doent even work
Welp, I got blue screen of death.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It never reaches the print statement: itertools.product reads from each generator until they're done, but itertools.count never terminates.