Answers for "Modify the program so it also prints the number of A, T, C, and G characters in the sequence in python"

0

Modify the program so it also prints the number of A, T, C, and G characters in the sequence in python

A = "GATTACA"
for i in ['A','C','G','T']:
    n = 0
        for j in A:
            if(i == j):
                n += 1
    print(i, "=", n)
Posted by: Guest on July-24-2021

Code answers related to "Modify the program so it also prints the number of A, T, C, and G characters in the sequence in python"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language