Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Fizz Buzz in Tensorflow (2016). Parent comment
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.
def fizzbuzz (1..100).map{|n|["%sBuzz"%x=["Fizz"][n%3]][n%5]||x||n} end
puts fizzbuzz.join