docker start -i [image-name]
docker rm $(docker ps -a -q)
#Reading the line from file and putting in a content string | |
line = open('rosalind_rna.txt', 'r').readline() | |
'''METHOD 1 Iteration | |
Iterating across the input string, character by character | |
and as strings are immutable, we made a new one | |
''' | |
input_iteration = str() | |
for i in range(len(line)): | |
if line[i] == 'T': |