append ("banana") 現在: len(items) 返回3。 來自docs. ... 使用len() 函式計算Python 列表中的元素數Python 中的列表可以儲存不同資料型別的多個元素。
確定! 回上一頁