要從字典中刪除元素,您必須使用戴爾關鍵詞。 語法為: del dict['yourkey'] # This will remove the element with your key. 要刪除整個字典,您可以再次 ...
確定! 回上一頁