In Python, you can get the values of a map or dictionary using the values()
function.
main.py194 chars7 lines
The values()
function returns a view object that contains the values of the map. You can convert it to a list if you want to use it as a list.
main.py84 chars4 lines
You can then iterate over the values or perform any other operation that you want to do with them.
gistlibby LogSnag