Advertisement
biswasrohit20

task1

May 17th, 2021
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. def buildLargest(l1,l2):
  2. l = len(l1)
  3. output = []
  4. for i in range(l):
  5. temp = []
  6. for j in range(l):
  7. if l1[i][j] > l2[i][j]:
  8. temp.append(l1[i][j])
  9. else:
  10. temp.append(l2[i][j])
  11. output.append(temp)
  12.  
  13. return output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement