慕课里的代码为什么那么局限性?
sum = 0 x = 1 while True: if x % 2 == 0 continue else sum = sum + x x = x + 1 if x > 100: break print sum 为什么我这样写不对呢?
sum = 0 x = 1 while True: if x % 2 == 0 continue else sum = sum + x x = x + 1 if x > 100: break print sum 为什么我这样写不对呢?
2017-07-13
举报