题解
2025-07-01 09:50:45
发布于:浙江
3阅读
0回复
0点赞
def spl(n:int):
while len(str(n))!=1:
n=sum(list(map(int,str(n))))
return n
print(spl(int(input())))
这里空空如也
2025-07-01 09:50:45
发布于:浙江
def spl(n:int):
while len(str(n))!=1:
n=sum(list(map(int,str(n))))
return n
print(spl(int(input())))
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个