range()
The range() function causes Python to start counting at the first value you give it, and it stops when it reaches the second value you provide.
list 数据类型
Data[a:b]
数据从index a 起始循环到 b-1 而后截止 (详细内容可参照Python Crash Course的Page 65)
range()
The range() function causes Python to start counting at the first value you give it, and it stops when it reaches the second value you provide.
list 数据类型
Data[a:b]
数据从index a 起始循环到 b-1 而后截止 (详细内容可参照Python Crash Course的Page 65)