Run ID:66866
提交时间:2024-03-10 18:34:23
n = int(input()) cnt = 0 while n: cnt += n%10 n //=10 print(cnt)