continue 可以用来跳过当次循环[cc]i = 0while i < 6: i += 1 if i == 2: continue print(i)else: print('haha')[/cc]结果是[cc]13456hah...
確定! 回上一頁