python正解
2026-04-12 12:22:22
发布于:广东
6阅读
0回复
0点赞
应https://www.acgo.cn/discuss/study/78469要求
少废话,上代码!
a,b=map(int,input().split())
f=0
for i in range(a,b+1):
c=str(i)
for j in c:
d=int(j)
f+=d
print(f)
这里空空如也
2026-04-12 12:22:22
发布于:广东
应https://www.acgo.cn/discuss/study/78469要求
少废话,上代码!
a,b=map(int,input().split())
f=0
for i in range(a,b+1):
c=str(i)
for j in c:
d=int(j)
f+=d
print(f)
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个