ID EN
Built-in Types

values

Python 3.11

Return a new view of the dictionary’s values. See the documentation of view objects.

Syntax

PYTHON
values()

Examples

Example 1
PYTHON
>>> d = {'a': 1}
>>> d.values() == d.values()
False

See Also

documentation of view objects