How can I write a algorithm that finds how many of a certain number is in a row in a list in python?
FOR EXAMPLE:
Input: List = [0,1,1,1,0,1,1] N = 1
Ou