easy spicy ans
IntuitionApproachComplexity
Time complexity:

Space complexity:
Code
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->

# Approach
<!-- Describe your approach to solving the problem. -->

# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity:
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```python3 []
class Solution:
    def isBalanced(self, num: str) -> bool:
        n=(len(num))
        s=0
        s1=0
        for i in range(0,n):
            if i % 2==0:
                s+=int(num[i])
            elif i %2!=0:
                s1+=int(num[i])
        return s==s1
```
['Python3']