class Solution:
def NumberOf1Between1AndN_Solution(self , n: int) -> int:
mark=''
for i in range(1,n+1):
mark+=str(i)
return mark.count('1')
class Solution:
def NumberOf1Between1AndN_Solution(self , n: int) -> int:
mark=''
for i in range(1,n+1):
mark+=str(i)
return mark.count('1')