Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 260 Bytes

55.md

File metadata and controls

20 lines (15 loc) · 260 Bytes
@author jackzhenguo
@desc 
@date 2019/3/10

55 创建range序列

  1. range(stop)
  2. range(start, stop[,step])

生成一个不可变序列:

In [1]: range(11)
Out[1]: range(0, 11)

In [2]: range(0,11,1)
Out[2]: range(0, 11)