Python Tutorials: Lag Bomb

17,363

7

2

Posted

Introduction: Python Tutorials: Lag Bomb

The lag bomb will repeatedly generate huge numbers which will lag the target computer it is a great way to troll your enemies. Just run the file and hide the window by minimising it.

Step 1: The Code

After opening a blank python file, type the following code:

--- = tab

import random
while True:
---random.randint(0,99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999) #sorry I got 'a bit' carried away

----WARNING----
This will lag (and possibly crash) your computer (especially if you fall asleep while holding the 9 key like I did)

Share

Recommendations

  • Epilog Challenge 9

    Epilog Challenge 9
  • First Time Author Contest 2018

    First Time Author Contest 2018
  • Sew Warm Contest 2018

    Sew Warm Contest 2018
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

Comments

WOW, OK! Nice simple program.