Advertisement
T-D-K

Untitled

Jun 29th, 2018
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. a = [
  2.     [0, 2, 3, 4],
  3.     [0, 2, 3, 4],
  4.     [1, 0, 3, 4],
  5.     [1, 2, 0, 4],
  6. ]
  7.  
  8. for j in range(len(a[0])):
  9.     r = 0
  10.     for i in range(len(a)):
  11.         if a[i][j] == 0:
  12.             r = r + 1
  13.     print(r)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement