循环语句
While循环
# 循环语句
i=1
while i<=100:
print(i)
i+=1
Continue
Break
函数
函数参数
位置参数
关键字参数:print(‘hello’,end=’ ’)
函数返回值:
array(2) { ["docs"]=> array(0) { } ["count"]=> int(0) } 111string(0) "" int(1) int(10) int(70) int(8640000) array(2) { ["docs"]=> array(0) { } ["count"]=> int(0) }
循环语句
While循环
# 循环语句
i=1
while i<=100:
print(i)
i+=1
Continue
Break
函数
函数参数
位置参数
关键字参数:print(‘hello’,end=’ ’)
函数返回值:
相关文章: