Skip to content
loading...

re: Daily Challenge #212 - DNA to RNA VIEW POST

FULL DISCUSSION
 

Ruby

DNAtoRNA = ->(str) { str.gsub!(/T/,'U')}
DNAtoRNA.call('TTTT')
=> "UUUU"
DNAtoRNA.call('GCAT')
=> "GCAU"
code of conduct - report abuse