def count(matrix: list, number: int):
count([[1, 4, 0, 0, 6, 3], [0, 3, 4, 0, 0, 0], [0, 0, 5, 6, 0]], 0)
I am trying to make function that counts all zeros or any other number from matrix list but for now its 0.
def count(matrix: list, number: int):
count([[1, 4, 0, 0, 6, 3], [0, 3, 4, 0, 0, 0], [0, 0, 5, 6, 0]], 0)
I am trying to make function that counts all zeros or any other number from matrix list but for now its 0.