Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def problema7(matrix):
- a = []
- for i in range(len(matrix[0])):
- temp = []
- for j in range(len(matrix)):
- temp.append(matrix[j][i])
- if(len(set(temp)) == len(temp)):
- a.append(1)
- else:
- a.append(0)
- return a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement