Pythone One Line Solution ( Beats %84.99 )
Code\n\nclass Solution:\n    def flipAndInvertImage(self, image: List[List[int]]) -> List[List[int]]:\n        return [[1 if element == 0 else 0 for element in 
# Code\n```\nclass Solution:\n    def flipAndInvertImage(self, image: List[List[int]]) -> List[List[int]]:\n        return [[1 if element == 0 else 0 for element in item[::-1] ] for item in image]\n```
['Python3']