### My issue

can anyone help me to understand this problem

Learning course: Arrays using Python

Problem Link: CodeChef: Practical coding for everyone

can anyone help me to understand this problem

Learning course: Arrays using Python

Problem Link: CodeChef: Practical coding for everyone

@sunnythakare8

U have to find the longest consecutive one’s appear in the array.

```
i = 0
one_streak = 0
while i < n:
temp = 0
while sequence[i] > 0:
temp = temp + 1
i = i + 1
if i == n:
break
if one_streak < temp:
one_streak = temp
i = i + 1
```