Sha256: fac42d82719047e5aa7c819d4cccad3151d936571ba88de076d993a3a0f2283c
Contents?: true
Size: 474 Bytes
Versions: 69
Compression:
Stored size: 474 Bytes
Contents
defmodule Raindrops do @doc """ Returns a string based on raindrop factors. - If the number contains 3 as a prime factor, output 'Pling'. - If the number contains 5 as a prime factor, output 'Plang'. - If the number contains 7 as a prime factor, output 'Plong'. - If the number does not contain 3, 5, or 7 as a prime factor, just pass the number's digits straight through. """ @spec convert(pos_integer) :: String.t() def convert(number) do end end
Version data entries
69 entries across 69 versions & 1 rubygems