print '$' + str(dollars) + '.' + ('%02d' % cents)

(press 'back' in your web browser to get back to where you were in the exam)