标签:python lse span col 输出 偶数 += int 奇数
# 输出 1-100 的奇数 start = 1 while start <= 100: temp = start % 2 if temp == 1: print(start) else: pass start += 1 # 输出1-100 偶数 start = 1 while start <= 100: temp = start % 2 if temp == 1: # print(start) pass else: # pass print(start) start += 1
标签:python lse span col 输出 偶数 += int 奇数
原文地址:https://www.cnblogs.com/bigdata-6/p/12862219.html