Simple Python Solution
\n    def prefixesDivBy5(self, nums):\n        output = []\n        nums = "".join([str(i) for i in nums])\n        for i in range(0,len(nums)) :\n            i
```\n    def prefixesDivBy5(self, nums):\n        output = []\n        nums = "".join([str(i) for i in nums])\n        for i in range(0,len(nums)) :\n            if int(nums[0:i+1], 2)%5==0 :\n                output.append(True)\n            else :\n                output.append(False)\n        return output\n```
[]