Simple & Easy Solution by Python 3
\nclass Solution:\n    def prefixesDivBy5(self, A: List[int]) -> List[bool]:\n        for i in range(1, len(A)):\n            A[i] += A[i - 1] * 2\n        retu
```\nclass Solution:\n    def prefixesDivBy5(self, A: List[int]) -> List[bool]:\n        for i in range(1, len(A)):\n            A[i] += A[i - 1] * 2\n        return [n % 5 == 0 for n in A]\n```
['Python3']