# Code-golfing FizzBuzz

**URL:** <https://discourse.julialang.org/t/code-golfing-fizzbuzz/95354>\
**Category:** General Usage\
**Created:** [November 16, 2019, 3:00am UTC](https://discourse.julialang.org/t/code-golfing-fizzbuzz/95354 "2019-11-16T03:00:44Z")\
**Posts on this page:** 1\
**Showing post:** 54

<div class="post-metadata">

**Author:** ![alemelis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alemelis/32/208433_2.png) [@alemelis](https://discourse.julialang.org/u/alemelis)\
**Post date:** [March 5, 2023, 7:06pm UTC](https://discourse.julialang.org/t/code-golfing-fizzbuzz/95354/54 "2023-03-05T19:06:51Z")

</div>

the problem is that “$x” length will change, so a unique start condition is tricky…

on that line I have a 64

```julia
/ =gcd;1:100 .|>n->println(max("FizzBuzz"[7-2(3/n):3+5/n],"$n"))

```

---

_[View the full topic](https://discourse.julialang.org/t/code-golfing-fizzbuzz/95354)._
