Super Logic Using Python3
\n\n# Simple explained Solution In Python3\n\nclass Solution:\n    def smallestEqual(self, nums: List[int]) -> int:\n        list1=[]\n        for i in range(le
\n\n# Simple explained Solution In Python3\n```\nclass Solution:\n    def smallestEqual(self, nums: List[int]) -> int:\n        list1=[]\n        for i in range(len(nums)):\n            if((i%10) == nums[i]):\n                list1.append(i)\n        if len(nums)==len(list1):\n            return 0\n        if list1:\n            return list1[0]\n        return -1\n```
['Python3']