Sha256: a5802d3ba23b697f246e6c4c3f20b218bdb9d8a614a82e2f7e1756545424f7a1
Contents?: true
Size: 277 Bytes
Versions: 117
Compression:
Stored size: 277 Bytes
Contents
package raindrops import "strconv" const testVersion = 3 func Convert(number int) string { s := "" if number%3 == 0 { s += "Pling" } if number%5 == 0 { s += "Plang" } if number%7 == 0 { s += "Plong" } if len(s) == 0 { s = strconv.Itoa(number) } return s }
Version data entries
117 entries across 117 versions & 1 rubygems