Ultra Easy Python Solution
\n\n# Code\n\nclass Solution:\n    def evenOddBit(self, n: int) -> List[int]:\n        even = 0\n        odd = 0\n        for i in range(32):\n            if i%
\n\n# Code\n```\nclass Solution:\n    def evenOddBit(self, n: int) -> List[int]:\n        even = 0\n        odd = 0\n        for i in range(32):\n            if i%2==0:\n                if n&1:\n                    even += 1\n            else:\n                if n&1:\n                    odd += 1\n\n            n >>= 1 #right shift\n        return [even,odd]\n```
['Bit Manipulation', 'Python3']