Problem of the Day



1. Write a short Python program that reads every line from the text file "example.txt", and prints each line to the screen. Except for the last line in the file, you may need to remove the newline character at the end of the string, which is included in the string returned by readline().


2. Print the integers 1, 2, 3, ..., 9 to a file "exampleOut.txt", one number per line.