Created
September 6, 2025 21:50
-
-
Save nullset2/74b4c255c07c05fd5540eb30893e6c97 to your computer and use it in GitHub Desktop.
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
from random import randint | |
f = open('numbers.txt', 'w') | |
def decidePrefix(x): | |
return { | |
0: "HW2011", | |
1: "HW2001", | |
2: "HW1006", | |
3: "HW1600", | |
}[x] | |
for i in range(0,99): | |
f.write("%s%d%d%d%d%d\n" % (decidePrefix(randint(0,3)), randint(0,9), randint(0,9), randint(0,9), randint(0,9), randint(0,9))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment