x=2x不行吗,萌新求解答
sum = 0 x = 1 while True: x = x + 1 if x > 100: break if x = 2 * x continue sum + = x print sum
如上,为什么会错啊,偶数不也是2x吗,小白求解答,我不知道该怎么改
sum = 0 x = 1 while True: x = x + 1 if x > 100: break if x = 2 * x continue sum + = x print sum
如上,为什么会错啊,偶数不也是2x吗,小白求解答,我不知道该怎么改
2017-02-11
举报