Conteúdo do Curso
Introduction to Data Analysis in Python
Introduction to Data Analysis in Python
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.
word = ['c', 'a', 't'] word.append('s') print(word)
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 8