PYTHON How to generate 20 million unrepeatable random numbers

前端 未结 0 1970
攒了一身酷
攒了一身酷 2021-01-28 04:39

Need to generate 20 million unrepeatable random numbers with 8 characters length and save it in an array. I try with multiprocessing,threading but it stays slow.

Try with

相关标签:
回答
  • 消灭零回复
提交回复
热议问题