data = [ {"name":jon},{"name":dom} ] root = [ {"age":30},{"age":55]] // i want to add both them like this final = [ {"name":jon , "age":30}, {"name":dom , "age":55} ]
But I got error // 'set' object does not support item assignment
data = [ {"name":"jon"},{"name":"dom"} ] root = [ {"age":30},{"age":55}] final = zip(data, root) for item in final: print(item)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)