求出1-100全部偶数。 n = 1 while n <101: temp = n % 2 if temp == 0: print(n) else: pass n = n + 1 print('>>>>>>>>end>>>>>>>')