以下代码为什么不能输出十以内的偶数呢?什么结果都没有count=0whilecount<=9:if(count%2!=0):continueelse:print(count)count+=1print('done')
count=0whilecount<=9:if(count%2!=0):continueelse:print(count)count+=1print('done')
whilecount<=9:if(count%2!=0):continueelse:print(count)count+=1print('done')
if(count%2!=0):continueelse:print(count)count+=1print('done')
continueelse:print(count)count+=1print('done')
else:print(count)count+=1print('done')
print(count)count+=1print('done')
count+=1print('done')
print('done')
暮色呼如
慕侠2389804
相关分类