Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 4

3 bytes removed, 14:01, 15 June 2017
PART 3 - Dictionaries
help(dict_york)
</source>All values can be viewed by using the '''dictionary.values()''' function. This particular function provides a '''list''' containing all values.<br><br>
::#To demonstrate, issue the following:<source>
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<source>
help(dict_york.keys)
dict_york.keys()
13,420
edits