Ask your own question, for FREE!
Computer Science 12 Online
OpenStudy (anonymous):

Write a Python script that takes from the user an input DNA sequence and prints the percentage of A's, C's, G's, and T's.

OpenStudy (e.mccormick):

So take it in as a string. Walk throught the string in a loop. For each letter in the string, cycle the proper counter. Then get the percentage of each counter from that.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!