Question: For python Write a program that asks the user for the name of a text file, and then prints to the screen each of the
Write a program that asks the user for the name of a text file, and then prints to the screen each of the lines in the file in upper case letters. For example, if your text file contained: Input: first, get the input Process: then do the calculations Output: and last, print the results Then a sample run of your program would look like: Please enter your file name: myFile.txt Your file in upper case letters is: INPUT: FIRST, GET THE INPUT PROCESS: THEN DO THE CALCULATIONS OUTPUT: AND LAST, PRINT THE RESULTS For the purpose of testing your program, you will need a text file created using Notepad. Only upload your Python program, I will provide my own text file Note: You can also create a text file using IDLE, when saving change the Save as type as shown here Fle name: Save Save as type: Text files t Cancel
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
