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