先创建并打开一个文本文件 file = open('dict.txt', 'w') # 遍历字典的元素,将每项元素的key和value分拆组成字符串,注意添加分隔符和换行符 for k,v ...
確定! 回上一頁