News for hackers. Stuff that matters.
Re:Fizz Buzz in Tensorflow by alimw on Tuesday May 24, 2016 @12:26PM (#11762886)
That's exactly how I'd do it! What's supposed to be the better way? Modulo/division by three and five?
Re:Fizz Buzz in Tensorflow by jedberg on Thursday May 26, 2016 @01:47AM (#11775820)

    for x in xrange(1,101):
        if not x % 3:
            print "Fizz",
        if not x % 5:
            print "Buzz",
        if (x % 3) and (x % 5):
            print x
        else:
            print ""
Re:Fizz Buzz in Tensorflow by curiousgal on Wednesday May 25, 2016 @05:08AM (#11768545)
>Modulo/division by three and five?

And fifteen.