Files
912-notes/thu_dsa/chp1/max2/generateTestData.py
2019-05-08 09:49:12 +08:00

11 lines
176 B
Python

from numpy import random
f = open(r'testData.txt', 'w')
f.write(str(random.randint(10000)))
for ix in range(10000):
f.write('\n' + str(random.randint(10000)))
f.close()