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 10:00
Jackson is teaching the decimal number system. he wants his students to know how to expand numbers by powers of 10. which is the correct order in which digits are assigned values in the decimal number system?
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
When building customer relationships through email what should you not do? question 2 options: utilize proper grammar, spelling, and punctuation type in all capital letters use hyperlinks rather than attachments respond to all emails within 24 hours
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
Use the keyword strategy to remember the meaning of the following word. the meaning for the word has been provided. write your keyword and describe the picture you would create in your mind. obfuscate: to make something so confusing that it is difficult to understand.
Answers: 2
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, 04.02.2021 19:50
question
Mathematics, 04.02.2021 19:50
question
Biology, 04.02.2021 19:50
question
English, 04.02.2021 19:50
question
Mathematics, 04.02.2021 19:50
Questions on the website: 13722362