What is the output of this code ? Can anyone explain? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the output of this code ? Can anyone explain?

z,a,*k,i=[1,2,3,4,5,6] print (len(k))

19th Jul 2020, 6:53 PM
내고^×^친구🐈
내고^×^친구🐈 - avatar
6 Answers
+ 6
6
20th Jul 2020, 3:32 AM
Amit Kumar
Amit Kumar - avatar
+ 3
Yup thank you ✌😊
19th Jul 2020, 7:12 PM
내고^×^친구🐈
내고^×^친구🐈 - avatar
+ 2
Ans is 3 . I don't know how can you explain?
19th Jul 2020, 7:01 PM
내고^×^친구🐈
내고^×^친구🐈 - avatar
+ 2
I didn't get why *k get 4 values ?
19th Jul 2020, 7:07 PM
내고^×^친구🐈
내고^×^친구🐈 - avatar
+ 1
KING∆OP no the answer is 3
21st Jul 2020, 1:33 PM
내고^×^친구🐈
내고^×^친구🐈 - avatar
0
The answer is:3 K=[3,4,5] and the length will be 3
21st Jul 2020, 2:57 PM
Bathini Swapna
Bathini Swapna - avatar