Change Contents of the Bubble
Welcome to CS1315. Click on the python to add comments.

This page removed for FERPA compliance
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Midterm Exam 2 Review Spring 2006: The Cover-Up



Has anyone figured this one out?

Try attacking this problem top-down. First, write a function that calls 'replaceInitials' but initially jREMOVEDt have replaceInitials do nothing. Then work out how to have replaceInitials open each file in turn, do something very trivial to it (e.g. append your initials at the end of the file), and then close it. Finally, having got that working, make replaceInitials search for your initials in the currently open file and replace them. Colin Potts



Link to this Page