Like lists, dictionaries also have a set of methods that make it easier for them to be able to be manipulated in a program.
Methods | Usage |
---|---|
keys | Get all the keys from dictionary |
values() | Get all values from dictionary |
items() | Get all key value pairs from dictionary |
get() | Gets the value of specified key |