You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I'm wondering if this line of code
data=int_sequence[:-3],
could be modified to be
data=int_sequence[:-1],
for at least the output seems fine:
[0, 1, 2] 3
[1, 2, 3] 4
[2, 3, 4] 5
[3, 4, 5] 6
[4, 5, 6] 7
[5, 6, 7] 8
[6, 7, 8] 9
The text was updated successfully, but these errors were encountered:
Hi all,
I'm wondering if this line of code
data=int_sequence[:-3],
could be modified to be
data=int_sequence[:-1],
for at least the output seems fine:
[0, 1, 2] 3
[1, 2, 3] 4
[2, 3, 4] 5
[3, 4, 5] 6
[4, 5, 6] 7
[5, 6, 7] 8
[6, 7, 8] 9
The text was updated successfully, but these errors were encountered: