Odd_Even.py
Code\n\nclass Solution:\n    def minFlips(self, a: int, b: int, c: int) -> int:\n        ans=0\n        while a or b or c:\n            x,y,z=a%2,b%2,c%2\n     
# Code\n```\nclass Solution:\n    def minFlips(self, a: int, b: int, c: int) -> int:\n        ans=0\n        while a or b or c:\n            x,y,z=a%2,b%2,c%2\n            print(x,y,z)\n            if z==0:ans+=(x+y)\n            elif x==0 and y==0:ans+=1\n            a,b,c=a//2,b//2,c//2\n        return ans\n```\n\n![](https://media.makeameme.org/created/please-upvote-and.jpg)
['Python3']