Rosalind #2

Oct. 5th, 2015 03:04 pm
helloworld: (Default)
[personal profile] helloworld
(Archiving everything here so I can't lose it again!)





dna = input("DNA sequence: ")

def transcribe(dna):
rna = ""
for i in range(0, len(dna)):
if dna[i] == "T":
rna = rna + "U"
else:
rna = rna + dna[i]
print(rna)

transcribe(dna)

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

helloworld: (Default)
apply(myLife, fuck)

October 2015

S M T W T F S
    123
4 5678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags