考虑我有听写。前任。
dict1 = {"1434": {"2012-10-29": {"275174": {"declaration_details":
{"UTCC": `"38483 "`, "CNRE": "8334", "CASH": "55096.0"},
"sales_details": {"UTCC": "38483.0", "CNRE": "8334.0", "CASH":
"55098.0"}}, "275126": {"declaration_details": {"CNIS": "63371"},
"sales_details": {"CNIS": "63371.0"}}, "275176":
{"declaration_details": {"UTCC": "129909", "CASH": `"93200.0 "`,
"CNRE": "28999", "PBGV": "1700"}, "sales_details": {"UTCC":
"131619.0", "PBGV": "1700.0", "CASH": "92880.0", "CNRE": "28999.0"}},
"275169": {"declaration_details": {"AMCC": "118616", "CNRE": "19462",
"CASH": "120678.0"}, "sales_details": {"UTCC": "118616.0", "CNRE":
"19462.0", "CASH": "120677.0"}}, "266741": {"declaration_details":
{"UTCC": "42678", "CNRE": "4119", "CASH": `"24944.0 "`},
"sales_details": {"UTCC": "42678.0", "CNRE": "4119.0", "CASH":
"24944.0"}}}}}
我想删除该 dict1 中的所有空格。
哪种方法更好?