dictionary

Dictionary - dictionary'Mario ='34 dictionary'Tim ='76 dictionary'Beatrice ='98 for i in sorted(dictionary print(i dictionary[i)

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#Tom Pampalone #CS-100 HW 5 #1 #11/29/10 dictionary = {} dictionary.update([('Sebastian' , '54')]) dictionary.update([('John' , '74')]) dictionary.update([('Anthony' , '27')]) dictionary.update([('Mike' , '82')])
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: dictionary['Mario'] = '34' dictionary['Tim'] = '76' dictionary['Beatrice'] = '98' for i in sorted(dictionary): print(i, dictionary[i])...
View Full Document

This document was uploaded on 04/28/2011.

Ask a homework question - tutors are online