sum = 0x = 0n = 1while True: n = 2*n - 1 x = x + 1 if x < n: continue n = n + 1 sum = sum + x if x > 100: breakprint sum请问,哪里出错了? 查看完整描述