We have started working with text files, which we can open by writing:
my_file = open("my_file.txt", "r")
This assumes, of course, that I called my file my_file.txt
To read each line in the file, you can use a for statement:
for inputLine in my_file:
Inside this loop you can do whatever you wish with your file.
Create a small text file called myTextFile.txt
and display it converted into all capital letters. Submit with
your code a flowchart and pseudocode.