79805618

Date: 2025-10-31 09:55:59
Score: 0.5
Natty:
Report link
sample_dict = {"first_name": "Jane", "name_last": "Doe"}

# rename key "name_last" to "last_name"

sample_dict["last_name"] = sample_dict.pop("name_last")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Rajarshee Mitra