Python3 one line Solution
\n\nclass Solution:\n    def minFlips(self, a: int, b: int, c: int) -> int:\n        return (c:=(a|b)^c).bit_count()+(a&b&c).bit_count()\n
\n```\nclass Solution:\n    def minFlips(self, a: int, b: int, c: int) -> int:\n        return (c:=(a|b)^c).bit_count()+(a&b&c).bit_count()\n```
['Python', 'Python3']