subject

PYTHON How can I make a algorithm in python that finds how many numbers are in a row in a list?

For example:

Input:
List = [0,1,1,1,0]
num = 1

Output:
3

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:10
Dameas communication challenge is due to which factor
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
Which of the following is not an enhancement to the standard wiki to make it more attractive for corporations? encryptionwork spacespermission toolspredictive text
Answers: 2
question
Computers and Technology, 23.06.2019 23:30
The keyboard usually has six rows of keys. which of the following is not one of the key group categories? letter keys number keys control keys graphic keys
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
Which boolean operator enables you to exclude a search term? a} not b} and c} or d} plus
Answers: 1
You know the right answer?
PYTHON How can I make a algorithm in python that finds how many numbers are in a row in a list?
Questions
question
Mathematics, 09.10.2019 19:30
question
Mathematics, 09.10.2019 19:30
question
Mathematics, 09.10.2019 19:30
question
English, 09.10.2019 19:30
question
Computers and Technology, 09.10.2019 19:30