The append() method will treat the string as a single element and add it to the end of the list. Here's an example: my_list = ['apple', 'banana'] my_list.append ...
確定! 回上一頁