a, b, *c = 1,2,3,4,5 *a, b = 1,2,3,4 a, *b, c = 1,2,3,4,5 [i for i, *_ in [[0], [1, 2], [3, 4, 5]]] lst = [(0,), (1,), (2,), (3,), (4,), (5,), (6,), (7,), (8,), (9,)] assert [i for i, in lst] == [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]