unef_org = {'name' : 'UNEF',
            'staff' : 32,
            'url' : 'http://unef.org'}

"""
Explanation: Title: Dictionary Basics
Slug: dictionary_basics
Summary: Dictionary Basics
Date: 2016-05-01 12:00
Category: Python
Tags: Basics
Authors: Chris Albon  
Basics

Not sequences, but mappings. That is, stored by key, not relative position.
Dictionaries are mutable.

Build a dictionary via brackets
End of explanation
"""


unef_org

"""
Explanation: View the variable
End of explanation
"""


who_org = {}
who_org['name'] = 'WHO'
who_org['staff'] = '10'
who_org['url'] = 'http://who.org'

"""
Explanation: Build a dict via keys
End of explanation
"""


who_org

"""
Explanation: View the variable
End of explanation
"""


unitas_org = {'name' : 'UNITAS',
              'staff' : 32,
              'url' : ['http://unitas.org', 'http://unitas.int']}

"""
Explanation: Nesting in dictionaries
Build a dictionary via brackets
End of explanation
"""


unitas_org

"""
Explanation: View the variable
End of explanation
"""


unitas_org['url'][1]

"""
Explanation: Index the nested list
Index the second item of the list nested in the url key.
End of explanation
"""


