Runtime: 92.85% Faster, Memory: 86.81% Simple Walk Through
class Solution:\n    def flipAndInvertImage(self, A: List[List[int]]) -> List[List[int]]:\n        \n\t\t# Creating horizontally flipped array\n\t\thoriz = []\n
class Solution:\n    def flipAndInvertImage(self, A: List[List[int]]) -> List[List[int]]:\n        \n\t\t# Creating horizontally flipped array\n\t\thoriz = []\n\t\tfor row in A:\n\t\t\t\thoriz.append(row[::-1])\n\t\t\n\t\t# Since it is a binary matrix, you can subtract 1 to change 1s to 0s. \n\t\t# Your 0s will become -1s  once you subtract 1 so you will need to use absolute value.\n\t\tfor i in range(len(horiz)):\n\t\t\t\thoriz[i] = [abs(x-1) for x in horiz[i]]\n\n\t\treturn horiz
['Math', 'Python', 'Python3']