Question: My code outputs the correct answer when I call only the 2nd function. However, if I call the 1st function and then the 2nd, only
My code outputs the correct answer when I call only the 2nd function. However, if I call the 1st function and then the 2nd, only the 1st function outputs what it's supposed to (the 2nd returns a blank line). Can anyone see any problem with the code and explain why calling the 2nd function after the first doesn't work?

Calling both 
Outputs just the string from the first function and not the second: 
print(createCodonString(myFile)) print(createReverseString(myFile)) gagacgtacttgttgttttaaataaacgaacaaattaaaatgtctgataatggaccccaa
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
