Source Code:
(back to article)
my_dict = {"name": "John", "age": 30, "city": "New York"} print(my_dict["name"]) # Output: John
Result:
Report an issue