Run ID:56045
提交时间:2023-08-06 13:58:48
a=int(input()) count=0 while True: if a//10==0: count+=a break count+=a%10 a//=10 print(count)