Copy the following text into a text file and save it as “IT.txt”
“Information technology (IT) is "the study, design, development, application, implementation, support or management of computer-based information systems, particularly software applications and computer hardware", according to the Information Technology Association of America (ITAA).[1] IT deals with the use of electronic computers and computer software to securely convert, store, protect, process, transmit, input, output, and retrieve information.“
Replace the word “of” with “WORLD” in the above text file in all occurrences.
1
Expert's answer
2011-08-04T12:30:03-0400
import re
fin = open ("IT.txt") s = fin.read() s = re.sub (" of ", " WORLD ", s)
fin.close() fout = open ("IT.txt", "w") fout.write(s) fout.close()
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment