python中books = Gone with the wind Data StructuresbooksappendAlgorithmsbooksinsert0 AlgorithmsTo add a new book which operation is better哪一种更好
The operation books.append('Algorithms') is better for adding a new book to the list.
Appending an item to the end of the list using append() has a time complexity of O(1), meaning it takes cons