2013-04-10 12:38:42 -07:00
|
|
|
(for N 100
|
|
|
|
|
(prinl
|
|
|
|
|
(or (pack (at (0 . 3) "Fizz") (at (0 . 5) "Buzz")) N) ) )
|
2018-06-22 20:57:24 +00:00
|
|
|
|
|
|
|
|
# Above, we simply count till 100 'prin'-ting number 'at' 3rd ('Fizz'), 5th ('Buzz') and 'pack'-ing 15th number ('FizzBuzz').
|
|
|
|
|
# Rest of the times 'N' is printed as it loops in 'for'.
|