Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = [
- [0, 2, 3, 4],
- [0, 2, 3, 4],
- [1, 0, 3, 4],
- [1, 2, 0, 4],
- ]
- for j in range(len(a[0])):
- r = 0
- for i in range(len(a)):
- if a[i][j] == 0:
- r = r + 1
- print(r)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement