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