spoiler

For people that don’t know this is not how you use Calipers

  • themeatbridge@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    It’s slightly different because all numbers divisible by 21 are also divisible by 7, so you would get all Fizz and FizzBuzz but no Buzz. So the question is, should you even be checking for Buzz, or should you make your code more efficient by eliminating those lines?

    • Noughmad
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I think they meant 3/7/21 instead of the standard 3/5/15.