News for hackers. Stuff that matters.
Re:Fizz Buzz in Tensorflow (2016) by geraldbauer on Monday February 12, 2018 @04:28PM (#16362398)
Here's the short ruby version from code golfing in 54 bytes:

def fizzbuzz (1..100).map{|n|["%sBuzz"%x=["Fizz"][n%3]][n%5]||x||n} end

puts fizzbuzz.join

There are no comments on this comment yet.