Sha256: da7a49a44d4e9822c6a736bb38da6739fea5fe87ca8fa3d46b9215616901bd98
Contents?: true
Size: 499 Bytes
Versions: 221
Compression:
Stored size: 499 Bytes
Contents
" " Convert a number to a string, the contents of which depend on the number's " factors. " " - If the number has 3 as a factor, output 'Pling'. " - If the number has 5 as a factor, output 'Plang'. " - If the number has 7 as a factor, output 'Plong'. " - If the number does not have 3, 5, or 7 as a factor, just pass " the number's digits straight through. " " Example: " " :echo Raindrops(15) " PlingPlang " function! Raindrops(number) abort " your solution goes here endfunction
Version data entries
221 entries across 221 versions & 1 rubygems