python3 Solution
\n\nimport numpy as np\nclass Solution:\n    def rangeAddQueries(self, n: int, queries: List[List[int]]) -> List[List[int]]:\n        ans=[[0]*n for _ in range(
\n```\nimport numpy as np\nclass Solution:\n    def rangeAddQueries(self, n: int, queries: List[List[int]]) -> List[List[int]]:\n        ans=[[0]*n for _ in range(n)]\n        res=np.array(ans)\n        for x in queries:\n            row1=x[0]\n            col1=x[1]\n            row2=x[2]\n            col2=x[3]\n            res[row1:row2+1,col1:col2+1]+=1\n            \n        return res        \n```
['Python', 'Python3']