Changes

Jump to: navigation, search

OPS435 Python Lab 4

67 bytes added, 13:57, 15 June 2017
PART 3 - Dictionaries
dict_york = {'Address': '70 The Pond Rd', 'City': 'Toronto', 'Postal Code': 'M3J3M6'}
</source>
::#The syntax here is to use '''{}''' to create a dictionary and placing '''<code>key:value </code>''' pairs inside within the dictionary, each pair in turn, are separated by commas.::#Take a close look at Issue the following and note all the available functions available to dictionary objects:<source>
dir(dict_york)
help(dict_york)
13,420
edits

Navigation menu