repeat_times#

图块代码

../../_images/repeat_times.png

javascript

for(var i = 0; i < times; i++) {

}

python

for i in range(0, times):

npl

for i = 0, times-1 do
end

参数#

参数

类型

默认值

说明

times

number

10

示例#

for(var i = 0; i < 10; i++) {

}
for i in range(0, 10):
for i = 0, 10-1 do
end