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