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.119 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.118 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.117 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.116 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.115 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.114 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.113 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.111 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.110 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.109 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.108 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.107 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.106 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.105 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.104 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.103 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.102 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.101 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.100 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
trackler-2.2.1.99 tracks/vimscript/exercises/rna-transcription/rna_transcription.vim