I have two lists
a=[\"USA\",\"France\",\"Italy\"] b=[\"10\",\"5\",\"6\"]
I want the end result to be in json like this.
[{\
You can combine map with zip.
map
zip
jsonized = map(lambda item: {'country':item[0], 'wins':item[1]}, zip(a,b))