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 ?
1 Answer
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 ?