Skip to content

Instantly share code, notes, and snippets.

Last active Jul 6, 2018
What would you like to do?
while 0 in large_number_array[i:i + k]:
zero_index = large_number_array[i:i + k].index(0)
i += zero_index + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment