2829 . 单选题

假设下面Python代码执行过程中仅输入正负整数或0,有关说法错误的是

Sum = 0
N = int(input())
while N:
    Sum += N
    N = int(input())
print(Sum)