Revision 6fc862d5-ee07-4256-a769-e1350cca4961 - Code Golf Stack Exchange

# [Jelly][1], <s>24</s> 20 [bytes][2]

 ³µ3,5ḍTị“¡Ṭ4“Ụp»ȯµ€G

[Try it online!][3]

### How it works

 ³µ3,5ḍTị“¡Ṭ4“Ụp»ȯµ€G Main link. No input.

 ³ Yield 100.
 µ Begin a new, monadic chain.
 µ€ Apply the preceding chain to all integers n in [1, ..., 100].
 3,5ḍ Test n for divisibility by 3 and 5.
 T Get all truthy indices.
 This yields [1] (mult. of 3, not 5), [2] (mult. of 5, not 3),
 [1, 2] (mult. of 15) or [].
 “¡Ṭ4“Ụp» Yield ['Fizz', 'Buzz'] by indexing in a dictionary.
 ị Retrieve the strings at the corr. indices.
 ȯ Logical OR hook; replace an empty list with n.
 G Grid; join the list, separating by linefeeds.

[1]: http://github.com/DennisMitchell/jelly
[2]: https://github.com/DennisMitchell/jelly/wiki/Code-page
[3]: http://jelly.tryitonline.net/#code=wrPCtTMsNeG4jVThu4vigJzCoeG5rDTigJzhu6RwwrvIr8K14oKsRw&input=

AltStyle によって変換されたページ (->オリジナル) /