-
-
Save jezinka/89be6db2e2e153abe89601566f9fdb88 to your computer and use it in GitHub Desktop.
second
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(...) | |
if next_item is not 0: | |
window_product = window_product // previous_item * next_item | |
i += 1 | |
else: | |
i += 1 | |
window_product = 1 | |
if i + k <= len(large_number_array): | |
for j in range(i, i + k): | |
window_product *= large_number_array[j] | |
else: | |
break | |
i += k | |
(...) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment