1class Solution:2def projectionArea(self, grid: List[List[int]]) -> int:3total = 045# top6total += sum([1 for i in grid for j in i if j > 0])78# front9total += sum([max(col) for col in zip(*grid)])1011# side12total += sum([max(row) for row in grid])1314return total