13,420
edits
Changes
→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)