Commit dd4a0393 by BellCodeEditor

auto save

parent 5a288ccd
Showing with 9 additions and 0 deletions
n,m,x=input("请输入").split(',')
n=int(n)
m=int(m)
x=int(x)
a=0
for i in range(n,m+1):
a += str(i).count(str(x))
print(a)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment