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