0

a,b,*c,d - Tuples

a, b, *c, d = [1, 2, 3, 4, 5, 6, 7, 8, 9] print(a) print(b) print(c) print(d) How does python interpret that a new variable d will be defined after c which makes c take values from 3 to 8 and leave 9 for d ?

3rd Aug 2017, 8:24 PM
Manan Cholera
Manan Cholera - avatar
1 Odpowiedź