![]() ![]() The list, and a.insert(len(a), x) is equivalent to a.append(x). The first argument is the index of theĮlement before which to insert, so a.insert(0, x) inserts at the front of extend ( iterable )Įxtend the list by appending all the items from the iterable. Here are all of the methods of listĪdd an item to the end of the list. ![]() The list data type has some more methods.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |