0
How does this code execute? I can't under stand *3 step. Can anyone explain?
a,b,*c=[1,2,3,7] print(*c) Output=3 7
2 Answers
+ 6
I think it's like variables declaretion like a, b, c=1,2,3
if you do a, b, *c=1,3,4,5,6
a & b is 1 & 3 than c holds the all number from 4,5,6
You can try it in code playground.