13,420
edits
Changes
→PART 3 - Dictionaries
help(dict_york.values)
dict_york.values()
</source>All keys can be viewed by using the dictionary.keys() function. This function provides a '''list''' containing all keys<br><br>::#To demonstrate this fact, issue the following:<source>
help(dict_york.keys)
dict_york.keys()
</source>::#Armed with this information, We can retrieve individual values from a dictionary by provide the key associated with the value::*For example, issue the following:<source>
dict_york['Address']
dict_york['Postal Code']