¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
Why does index= -1 inserts "java" at 2nd last position? (As generally index = -1 means end of list(
3 Respuestas
+ 1
That is because .insert() inserts the object before the given index, not at it :)
0
No problem :)