Write a program to read through a file and print the contents of…

Question Answered step-by-step Write a program to read through a file and print the contents of… Write a program to read through a file and print the contents of the file (lineby line) all in upper case. Executing the program will look as follows:Output: Enter a file name: m box-short.txt FROM S..D@UCT.AC.ZASAT JAN 5 09:14:16 2008 RETURN-PATH: P..R@COLLAB.SAKAIPROJECT.ORG RECEIVED: FROM MURDER (MAIL.UMICH.EDU [141.211.14.90]) BYFRANKENSTEIN.MAIL.UMICH.EDU (CYRUS V2.3.8) WITH LMTPA; SAT, 05 JAN 200809:14:16 -0500 Computer Science Engineering & Technology Python Programming COMPUTING 14 Share QuestionEmailCopy link Comments (0)