Sha256: 2fe4c1185639748d4afaa4572fd2dc1eafe30ba745c780129ba31999bc7704d7

Contents?: true

Size: 304 Bytes

Versions: 193

Compression:

Stored size: 304 Bytes

Contents

"
" This function takes a DNA strand and returns its RNA complement.
"
"   G -> C
"   C -> G
"   T -> A
"   A -> U
"
" If the input is invalid, return an empty string.
"
" Example:
"
"   :echo ToRna('ACGTGGTCTTAA')
"   UGCACCAGAAUU
"
function! ToRna(strand) abort
  " your solution goes here
endfunction

Version data entries

193 entries across 193 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.179 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.178 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.177 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.176 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.175 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.174 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.173 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.172 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.171 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.170 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.169 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.167 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.166 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.165 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.164 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.163 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.162 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.161 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.160 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim