The methods replace and strip are very popular and are used pretty often in real-life programs.
Challenge
Each gene's code uses the four nucleotide bases of DNA: adenine (A), cytosine (C), guanine (G), and thymine (T). We don’t like abbreviations, so we would like to expand these abstractions any time we find those in the text. Given a text with abstractions including A, C, G, and T, expand those into their actual names.
The input contains a single line with text with abbreviations.
The program should print the same text with expanded abstractions in the output.
Input
Output
Each gene's code uses the four nucleotide bases of dna: A, C, G, and T
Each gene's code uses the four nucleotide bases of dna: adenine, cytosine, guanine, and thymine