python 产生有序整数序列

其中一种方法

A = np.linspace(0,n,n)
原文地址:https://www.cnblogs.com/zhibei/p/10012149.html