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