请求出1-100偶数

n=0
while n<101:
    temp=n % 2
    if temp==0:
        print(n)
    else:
        pass
    n=n+1
原文地址:https://www.cnblogs.com/huangjinshan/p/8047369.html