d = {'John': '111-2222', 'Peter': '333-3333'}
d['John']
d['Peter']
d['james']
'james' in d
'John' in d
d['James'] = '999-9999'
d['James']
d['James'] = '000-0000'
for key in d:
print(key,'\t',d[key])
students = {'John' : {'major':'Computer Science', 'gpa': 3.5, 'phone': ['11','22']},
'Peter': {'major': 'Math', 'gpa': 4.0, 'phone': ['33']}
}
students['John']
students['John']['major']
students['John']['phone'][0]