Difference between append and extend in Python · list.append(x) : Add an item to the end of the list; equivalent to a[len(a):] = [x] . · list.extend(L) : Extend ...
確定! 回上一頁