The values() method returns all values:
person = {"name": "Alice", "age": 30}
print(person.values()) # dict_values(['Alice', 30])
for value in person.values():
print(value)
Use this when you only care about the values, not which keys they belong to.
Note: values can have duplicates, unlike keys.