n=0 while n<101: temp=n % 2 if temp==0: print(n) else: pass n=n+1
请求出1-100偶数
原文:http://www.cnblogs.com/huangjinshan/p/8047369.html