Created
November 4, 2015 18:46
-
-
Save popey456963/af5a05d431e783d42a99 to your computer and use it in GitHub Desktop.
Counting DNA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| s=input() | |
| a=s.count("A") | |
| b=s.count("C") | |
| c=s.count("G") | |
| d=s.count("T") | |
| print(str(a) + " " + str(b) + " " + str(c) + " " + str(d)) |
Author
popey456963
commented
Nov 5, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment