1、使用clear()方法删除字典内所有元素. clear()方法语法:dict.clear() · 2、使用pop()方法删除字典给定键key及对应的值 · 3、使用popitem() 方法返回并 ...
確定! 回上一頁