# Write a function that reads and combines two text files line-by-line # and write the combined lines in an output file # # The two text files are # http://www.cs.virginia.edu/~up3f/cs1110/practice-of-the-day/file_1.txt # http://www.cs.virginia.edu/~up3f/cs1110/practice-of-the-day/file_2.txt # # The output file should look like # Here is some # text that we can # combine with # another file. # Even with a # Even with a # blank line! # And an extra line! # Yes, even with a # blank line! # blank # line # # ! # The end # assuming we don't care the remaining empty or blank lines # # Practice opening files locally and over the internet # Thus, for the first solution, download the files and save them in your machine; # for the second solution, use urllib.request.urlopen(url)