what *x,y means in this code? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 5

what *x,y means in this code?

one of the quizzes had this part in it : *x,y = [1,2], [3,4], [5,6] print (list(zip(*x+[y]))[1][1]) what does the asterix do in this line ? thank you

20th Feb 2018, 6:12 PM
Hajar Joulal
Hajar Joulal - avatar
1 Respuesta
+ 3
thank you ^^
20th Feb 2018, 7:24 PM
Hajar Joulal
Hajar Joulal - avatar