here is my solution->>:)
*plz upvote if you find my solution helpful***\n\nclass Solution:\n    def digitCount(self, n: str) -> bool:\n        l=len(n)\n        for i in range(l):\n    
*****plz upvote if you find my solution helpful*****\n```\nclass Solution:\n    def digitCount(self, n: str) -> bool:\n        l=len(n)\n        for i in range(l):\n            if n.count(str(i))!=int(n[i]):\n                \n                return False\n        return True\n        \n```
['Python']