Python Simple solution
\nclass Solution:\n    def prefixesDivBy5(self, A: List[int]) -> List[bool]:\n        s=\'\';l=[]\n        for i in A:\n            s+=str(i)\n            l.app
```\nclass Solution:\n    def prefixesDivBy5(self, A: List[int]) -> List[bool]:\n        s=\'\';l=[]\n        for i in A:\n            s+=str(i)\n            l.append(int(s,2)%5==0)\n        return l\n                \n```
['Python', 'Python3']