gui doubt

Robert Kern robert.kern at gmail.com
Thu Jun 17 12:18:55 EDT 2010


On 6/17/10 10:38 AM, Tim Chase wrote:
> On 06/17/2010 10:07 AM, Andreas Tawn wrote:
>>>> On 6/16/10 10:40 PM, madhuri vio wrote:
>>>>> which performs the transcription of dna to rna
> [snip]
>> Seems like a simple problem... or am I missing something?
>>
>> def translate():
>> return "dna".replace("d", "r")
>
> And I understand people in bioinformatics get paid big money...for
> that!? ;-)

Actually, the full method is a lot more complicated:

def translate(dna):
     return dna.replace('T', 'U')

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-list mailing list