Зміст курсу
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)
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 8