循环1.while循环while(condition)dostatementsend例子:b=2while(b>0)doprint(b)b=b-1end输出:21 2.for循环2.1数值for循环forvar=exp1,exp2 ...
確定! 回上一頁