<p>如何在循环中以这样的升序生成随机数并将它们附加到列表中</p>
<p>12345号
12346
12347
12348..... 你知道吗</p>
<p>试试这个,这个代码会生成随机整数,需要它们按升序排列。你知道吗</p>
<pre><code>lists = []
for z in range(3000):
lists.append((randint(12345,13333)))
lists_1=[str(cell) for cell in lists_phone]
print(lists_1)
</code></pre>