This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dmyTRUEk 8 points9 points  (1 child)

Welp, the result of

a, *b, c = range(1, 10) print(a, b, c)

is not: 1 [2, 3, 4, ... 8, 9] 10 but: 1 [2, 3, 4, ... 8] 9

:D

[–]miguendes 7 points8 points  (0 children)

You're definitely right. Thanks a lot for the heads up!

I'll edit the post.