22-while里continue的简单用法
计算100以内偶数之和。是余数的话就执行continue,跳过本次循环剩余部分。是偶数的话就直接执行 sum100 += conuter 进行累加sum100 = 0counter = 0while counter < 100: counter += 1 # if counter % 2 == 1: continue...