第27882题 单选题
执行下列Python代码操作后,最终字典my_dict的内容是什么?

已知初始字典为my_dict = {"id": 1001, "name": "Tom"},依次执行以下三步操作:1. my_dict.update({"age": 18});2. my_dict.pop("id");3. my_dict["gender"] = "male",最终的my_dict为?

{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析