Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Ramkan7
/
Patch_Hawk
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
Patch_Hawk
/
patchhawk
/
data
/
benign
/
math_matrix.py
RAMCr7
Final patch
58f6308
10 days ago
raw
Copy download link
history
blame
contribute
delete
Safe
169 Bytes
def
matrix_addition
(
mat1, mat2
):
"""Add two matrices."""
return
[
[mat1[i][j] + mat2[i][j]
for
j
in
range
(
len
(mat1[
0
]))]
for
i
in
range
(
len
(mat1))
]