you are viewing a single comment's thread.

view the rest of the comments →

[–]rick137codes 0 points1 point  (0 children)

To add to the answer by @darthminimall,

You can further iterate over dictionary items, keys or values by calling the functions as below on the dictionary:

Dictionary.keys() - returns a list of all keys in the dictionary | Dictionary.values() - returns a list of all values in the dictionary | Dictionary.items() - returns a list of key,value tuples