py3 dict values

Solutions on MaxInterview for py3 dict values by the best coders in the world

showing results for - "py3 dict values"
Alexa
09 Sep 2019
1
2Yes it's the exact same thing in Python 2:
3
4d.values()
5In Python 3 (where dict.values returns a view of the dictionary’s values instead):
6
7list(d.values())