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.139 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.138 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.137 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.136 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.135 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.134 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.133 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.132 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.131 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.130 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.129 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.128 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.127 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.126 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.125 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.124 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.123 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.122 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.121 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.120 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim