Python Easy Approach
Code\n\nclass Solution:\n    def prefixesDivBy5(self, nums: List[int]) -> List[bool]:\n        Integer=[]\n        output=[]\n        Final=[]\n        for i in
# Code\n```\nclass Solution:\n    def prefixesDivBy5(self, nums: List[int]) -> List[bool]:\n        Integer=[]\n        output=[]\n        Final=[]\n        for i in nums:\n            Integer.append(str(i))\n        for i in range(len(Integer)):\n            output.append(int("".join(Integer[:i+1]),2))\n        for i in output:\n            if i%5==0:\n                Final.append(True)\n            else:Final.append(False)\n        return Final\n```
['Array', 'Bit Manipulation', 'Python3']