Python3  ||  beats 99%  ||  simple solution
\nclass Solution:\n\tdef waysToSplitArray(self, nums: List[int]) -> int:\n        s0 = sum(nums)\n        s1, d = 0, 0\n        for i in nums[:-1]:\n           
```\nclass Solution:\n\tdef waysToSplitArray(self, nums: List[int]) -> int:\n        s0 = sum(nums)\n        s1, d = 0, 0\n        for i in nums[:-1]:\n            s1 += i\n            if s1 >= (s0-s1):\n                d += 1\n        return d\n```
['Array', 'Prefix Sum', 'Python3']