Professional Documents
Culture Documents
Rosalind Dna 3 Output
Rosalind Dna 3 Output
Problem
A string is simply an ordered collection of symbols selected from some alphabet
and formed into a word; the length of a string is the number of symbols that it
contains.
Sample Dataset
AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC
Sample Output
20 12 17 21
"""
isDNA:bool = True
A:int = 0
C:int = 0
G:int = 0
T:int = 0
if isDNA:
print(f'{A} {C} {G} {T}')
else:
print('A string informada não é um DNA')
else:
print('Informe um DNA com tamanho entre 1 e 100')