ist={"key1":"value1","key2":"value2"},一下哪个操作可以情况dist的同时保留变量?
时间: 2023-08-14 22:08:04 浏览: 81
回答: 以下操作可以清空dist的同时保留变量:
del dist
#### 引用[.reference_title]
- *1* [Python变量数据类型](https://blog.csdn.net/qq_29720657/article/details/102718073)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [20180918-1 词频统计](https://blog.csdn.net/weixin_30906185/article/details/96819572)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文