Tips

Check your output

You should validate your dna_analysis.py program’s output using the Diff Checker tool before submitting your assignment. You can compare your output to the files given in the expected_output directory of the homework2 files. Drag a file into the “Original Text” pane in the Diff Checker. Select text in a terminal window, paste it into the other pane (“Changed Text”), and select “Find Difference”.

Editing Text Files

You will submit answers.txt as a text file. Plain text is a common standard for communicating information among programmers (and computers) because it can be read on any computer without installing additional software. We recommend editing text files using Jupyter, but you can use another text editor (just make sure to save as a text file with the .txt extension).

Jupyter Terminal

Make sure that your terminal’s directory (the folder path before the $ in your terminal) is set to:

~/COURSE_MATERIALS/homework/homework2
This should happen automatically when you click on the Homework 2 in JupyterHub link and open a new terminal.

Copy and Pasting

Left click and drag the mouse to select text from anywhere in the command prompt window. Once you have highlighted what you want, use (control + C in Windows, command + C in Mac) to select it and then (control + V in Windows, command + V in Mac) to paste into Diff Checker or a text file.