摘要:
n=1 s=0 while n<101: temp = n % 2 if temp==0: s=s-n else: s=s+n n=n+1 print(s) 阅读全文
摘要:
n=1 s=0 while n<101: s=s+n n=n+1 print(s) 阅读全文
摘要:
n=0 while n<101: temp=n % 2 if temp==0: print(n) else: pass n=n+1 阅读全文
摘要:
n=0 while n<101: temp= n %2 if temp==0: pass else: print(n) n=n+1 阅读全文
摘要:
n=0 while n<10: if n==7: pass else: print(n) n=n+1 print(n) 阅读全文