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