why is output in list? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

why is output in list?

a,b,c,*d = (1,2,3,4,5,6,7,8,9) print(a) print(b) print(c) print(d) # why is output in lists?

18th Jul 2022, 1:54 PM
Khalif Baby👶
Khalif Baby👶 - avatar
1 Answer
+ 2
KB Is 🅿️ *d means rest value of tuple which will be a list
18th Jul 2022, 3:53 PM
A͢J
A͢J - avatar