Permalink
Switch branches/tags
Nothing to show
Find file Copy path
65d4da6 May 15, 2015
1 contributor

Users who have contributed to this file

executable file 13 lines (11 sloc) 268 Bytes
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
d = {
'Michael': 95,
'Bob': 75,
'Tracy': 85
}
print('d[\'Michael\'] =', d['Michael'])
print('d[\'Bob\'] =', d['Bob'])
print('d[\'Tracy\'] =', d['Tracy'])
print('d.get(\'Thomas\', -1) =', d.get('Thomas', -1))