Have you tired to change values in dictionary or print some of the values?
So this is the recipe on how we can work with Dictionary Basics in Python.
unef_org = {"name" : "UNEF",
"staff" : 32,
"url" : "http://unef.org"}
print(unef_org)
We have created a dictionary and printed it.
We have changed the values by assining new values to the features.
who_org = {}
who_org["name"] = "WHO"
who_org["staff"] = "10"
who_org["url"] = "https://setscholars.com"
print(who_org)
We have created a new dictionary and printed the desired value by passing the index of the value.
unitas_org = {"name" : "UNITAS",
"staff" : 32,
"url" : ["https://setscholars.com",
"https://setscholars.info"]}
print(unitas_org)
print(unitas_org["url"])
print(unitas_org["url"][0])
print(unitas_org["url"][1])
So the output comes as
{"name": "UNEF", "staff": 32, "url": "http://unef.org"} {"name": "WHO", "staff": "10", "url": "https://setscholars.com"} {"name": "UNITAS", "staff": 32, "url": ["https://setscholars.com", "https://setscholars.info"]} ["https://setscholars.com", "https://setscholars.info"] https://setscholars.com https://setscholars.info