I have this sample of code
a = [ { "apple" : 1 } , { "orange" : 2 } ]
and how would I change this to the following?
a = { "apple" : 1, "orange": 2 }
No comments:
Post a Comment