Sha256: affeaa0367051e1ce5f2e5375ff6751f6992b2d8acee941a1918f55cf8a3cec3
Contents?: true
Size: 473 Bytes
Versions: 327
Compression:
Stored size: 473 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
327 entries across 327 versions & 1 rubygems