Reading from Files Write Python programs to do the following: 1)Read two files of data (call them
Fantastic news! We've Found the answer you've been seeking!
Question:
Reading from Files
Write Python programs to do the following:
1)Read two files of data (call them seq1.txt and seq2.txt ),seq1.txt contains this sequence: GAAACCAA and seq2.txt has this sequence: GCCCATTTT Print the contents of the first followed by the contents of the second file to the screen. On Windows you can use Notepad to create these files, on Macs use TextEdit (change format to plain text). Snapshot your code and output, discuss any issues you might be having or had.
Writing to a File
2) Modify the code from Q1 above so that the output gets sent to a file instead of the screen.
Snapshot your code and output, discuss any issues you might be having or had.
Related Book For
Posted Date: