python
2025-06-25 20:25:31
发布于:浙江
2阅读
0回复
0点赞
from typing import List
a,b=map(int,input().split())
ran : List[int] = [str(i).count('2') for i in range(a,b+1)]
print(sum(ran))
这里空空如也
2025-06-25 20:25:31
发布于:浙江
from typing import List
a,b=map(int,input().split())
ran : List[int] = [str(i).count('2') for i in range(a,b+1)]
print(sum(ran))
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个