摘要: dict not ok d = {'a': 34, 'b': 435}rm_k = []for k in d.keys(): if k == 'a': d.pop(k) list ok l = ['wer', 'a', 'ccc']for i in l: if i == 'a': l.remove( 阅读全文
posted @ 2024-08-02 16:31 papering 阅读(2) 评论(0) 推荐(0) 编辑