Course
Simulator
More
Premium
Log in
Python Function Reference
Functions
values
values
Returns a list of the dictionary's values.
Python 3.13
1
dict
.
values
(
)
Examples
Python 3.13
1
2
a
=
{
'x'
:
1
,
'y'
:
2
}
list
(
a
.
values
(
)
)
[1, 2]