|
|
|
|
|
by omaranto
4783 days ago
|
|
But even with a generator, as you would get from range in Python 3, the assignment a, *b = range(10)
makes b into a list. (And I think the star syntax in assignments is only Python 3, as far as I remember Python 2 only has star in argument lists of functions.) |
|