Trying to come up with the smallest `FizzBuzz` ver...
# announcements
m
Trying to come up with the smallest
FizzBuzz
version I can... just for fun. Here's what I have so far:
Copy code
infix fun Int.dividesBy(d: Int) : Boolean { return this % d == 0 }

(1..100).forEach{
    println(when{
        it dividesBy 15 -> "fizzbuzz"
        it dividesBy 3 -> "fizz"
        it dividesBy 5 -> "buzz"
        else -> "$it"
    })
}