my_dict = {"name": "John", "age": 30, "city": "New York"}
for value in my_dict.values():
print(value)
John
30
New York
my_dict
` containing three key-value pairs. for
` loop to iterate through all the values in the dictionary using the `values()
` method. print()
` function.