Solution for jadoo, the space alien has befriended koba upon landing on earth. Since then, he wishes koba to be more like him. In order to do so he decides to slowly transcribe koba's dna into rna. But he has to write a very short code in order to do the transcription so as not to make koba aware of the change. The four nucleotides found in dna are adenine (a), cytosine (c), guanine (g) and thymine (t). The four nucleotides found in rna are adenine (a), cytosine (c), guanine (g) and uracil (u). Given a dna strand, its transcribed rna strand is formed by replacing each nucleotide with its complement: g --> c c --> g t --> a a --> u
Answers
Answered by
0
Hey.. what was that?
Your question is very much unclear..
Sorry i cant help
Answered by
0
Answer:
b=input()
a="GCTA"
c="CGAU"
try:print(''.join([c[a.index(i)]for i in b]))
except:print("Invalid In put")
Explanation:
Advanced use of slicing , lamda functions and indexing.
Similar questions