你可以使用 Python 的 random 模块来随机生成 3000 个整数。例如: importrandom numbers = [random.randint(1, 10000) for _ in range(3000)]