If you wanted to add three items, 7 , 8 , and 9 to a list, n , you can do either of these … n += [7, 8, 9] n.extend([7, 8, 9]). But, append can only add one ...
確定! 回上一頁