Updating Lists
One of the methods (function that 'belongs to' a certain object, which is a list as for now) that we can apply to our list is .append(), which adds the item to the end of the list.
123word = ['c', 'a', 't'] word.append('s') print(word)
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 8
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Genial!
Completion tasa mejorada a 2.7
Updating Lists
Desliza para mostrar el menú
One of the methods (function that 'belongs to' a certain object, which is a list as for now) that we can apply to our list is .append(), which adds the item to the end of the list.
123word = ['c', 'a', 't'] word.append('s') print(word)
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 8