+ 1
Does that mean, In using append you can only add one item to the list?
Append
2 odpowiedzi
+ 2
Using append allows you to add a single object to the end of the list.
However, that single object may contain other objects.
numbers = [ ]
even = [0, 2, 4, 6, 8 ]
odd = [1, 3, 5, 7, 9]
numbers.append(even)
numbers.append(odd)
0
thats buddy