String Formatting with Dictionaries
phonebook = {'A': '777-7777', 'B': '222-2222', 'C': '333-3333'} print "C's phone number is %(C)s." % phonebook