79753632

Date: 2025-09-02 14:54:01
Score: 0.5
Natty:
Report link

using the pandas:

json = {
       "India":"IN",
        "Sri Lanka":"SL"
       }

then convert it to JSon array like:

result = [{"name": k, "code": v} for k, v in json.items()]

good luck

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: tdjprog