摘要: 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) 阅读全文
posted @ 2017-12-16 19:21 打不死的--蟑螂 阅读(516) 评论(0) 推荐(0) 编辑
摘要: n=1 s=0 while n<101: s=s+n n=n+1 print(s) 阅读全文
posted @ 2017-12-16 19:11 打不死的--蟑螂 阅读(195) 评论(0) 推荐(0) 编辑
摘要: n=0 while n<101: temp=n % 2 if temp==0: print(n) else: pass n=n+1 阅读全文
posted @ 2017-12-16 19:08 打不死的--蟑螂 阅读(152) 评论(0) 推荐(0) 编辑
摘要: n=0 while n<101: temp= n %2 if temp==0: pass else: print(n) n=n+1 阅读全文
posted @ 2017-12-16 19:06 打不死的--蟑螂 阅读(153) 评论(0) 推荐(0) 编辑
摘要: n=0 while n<10: if n==7: pass else: print(n) n=n+1 print(n) 阅读全文
posted @ 2017-12-16 19:01 打不死的--蟑螂 阅读(244) 评论(0) 推荐(0) 编辑