+ 1

Can anyone explain why the output is like this? And what does "[...]" mean?

a=[1, 2] a.append(a) print (a[2][2][2]) >>> [1, 2, [...]]

31st Aug 2018, 6:16 PM
Hlad
Hlad - avatar
1 Respuesta