python生成一個1到n的隊列

n = 5 nlist = range(1,n) print nlist 結果: [1, 2, 3, 4]
相關文章
相關標籤/搜索