Python 1 liner
Intuition\n\neasy one liner\n\n# Code\npython3 []\nclass Solution:\n    def isBalanced(self, num: str) -> bool:\n\n        return sum([int(x) for i,x in enumera
# Intuition\n\neasy one liner\n\n# Code\n```python3 []\nclass Solution:\n    def isBalanced(self, num: str) -> bool:\n\n        return sum([int(x) for i,x in enumerate(num) if i%2 == 1 ]) == sum([int(x) for i,x in enumerate(num) if i%2 == 0 ])\n        \n```
['Python3']