i have a list of dict that i wnat to convert them to one dict but the problem is when i use the loop to add them only the last one get added note that the Reaquest returns a list of json objects that i want to convert to python dic.
import json
import requests
my_requset = requests.get("https://jsonplaceholder.typicode.com/users")
request_parse = my_requset.json()
new_dcit = {}
for i in request_parse:
new_dcit.update(i)
for key , val in new_dcit.items():
print(key ," : ", val)
如果有其他办法将 j子改成dic子,请予以分享。