This is a follow up to the Making Choices 3 problem.
Write a function dna_or_rna_multivalue(list_of_sequences)
that
takes a list of dna sequences as input, determines whether each sequence
is DNA, RNA, or UNKNOWN, and then returns a list of those values (i.e.,
‘DNA’, ‘RNA’, ‘UNKNOWN’) in the same order as the list_of_sequences
.
I would recommend:
Use this new function to return the values for the following list of DNA sequences and then (outside of the function) print the values in the resulting list, one value per line.
list_of_sequences = ['attgcccaat', 'agcuucua', 'attuuccaga',
'ggcccacacgg', 'atattagcc', 'startcodon', 'uucaaggu', 'tttttttttt',
'aaaaaaaaa']