字典映射 def ctype(old_type): type_map = { "ab1": "AB1112", "cd2": "CD12321", "ef3": "EF" } python 2023-11-29 161 点赞 2 评论 243 浏览