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)
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 8
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Awesome!
Completion rate improved to 2.7
Updating Lists
Swipe um das Menü anzuzeigen
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)
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 8