News for hackers. Stuff that matters.
Re:Unpythonic Python by acqq on Thursday April 10, 2014 @02:44AM (#7564527)
Brilliant, thanks! The C version is now:

    int i; char* a[] = { "%d\n", "Fizz\n", "Buzz\n", "FizzBuzz\n" };
    for ( i = 1; i < 101; i++ )
        printf( a[ (i%5==0)*2 + (i%3==0) ], i );

There are no comments on this comment yet.