while循环能用于循环次数确定的情况吗,do呢
while循环能用于循环次数确定的情况吗回答是: 可以另外,不论是 while 还是 for , 都可以用 break 中断循环。
i = 1 while i <=100: #你的代码 i = i + 1
python 没有do while 吧