Changes

Jump to: navigation, search

OPS435 Python Lab 4

4 bytes removed, 14:13, 15 June 2017
PART 3 - Dictionaries
print(value)
</source>Additional Information regarding Dictionaries:<ul><li>The values and keys can be looped over using the index as well
::#The '''range()''' function provides a list of numbers in a range.</li><li>The '''len()''' function provides a the number of items in a list.</li><li>Used together '''len() and range()''' can be used to create a list of usable indexes for a specific list</li></ul><br><br>
::#To demonstrate, issue the following:<source>
list_of_keys = list(dict_york.keys())
13,420
edits

Navigation menu