Created
June 16, 2020 07:23
-
-
Save sanjitk7/04159d8ab55d64444ba461dcacf1a3e7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def add(A,B): | |
C = [[0,0,0],[0,0,0],[0,0,0]] | |
for i in range(0,len(A)): | |
for j in range(0,len(A[0])): | |
C[i][j] = A[i][j] + B[i][j] | |
return C |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment