Changes

Jump to: navigation, search

OPS435 Python Lab 4

9 bytes added, 19:09, 15 June 2017
PART 3 - Dictionaries
</source>
:::*The script should contain '''three''' functions:::::*'''create_dictionary() '''<dd><dl>accepts two lists as arguments keys and values, combines these lists together to create a dictionary:::*create_dictionary() </dl><dl>'''returns a dictionary''' that has the keys and associated values from the lists</dl></dd>
:::*split_dictionary() accepts a single dictionary as a argument and splits the dictionary into two lists, keys and values
:::*split_dictionary() '''returns two lists''': return keys, values
13,420
edits

Navigation menu