range函数python_Python Range函数简介。

range函数python

范围: (Range:)

The range type represents an immutable sequence of numbers and is commonly used for looping a specific number of times in for loops.

范围类型表示数字的不可变序列,并通常用于在for循环循环的特定次数。

range(stop)
range(start,stop,step)

startThe value of the start parameter (or 0 if the parameter was not supplied)

start start参数的值(如果未提供该参数,则为0 )

stopThe value of the stop parameter

stop

你可能感兴趣的:(python)